xmldb:collection-available not reporting existence of collection named "Å"

Henrik Nielsen <[email protected]> Tue, 4 Nov 2025 23:04:50 +0100
Newsgroups gmane.text.xml.exist
Message-ID <CALdN5-kEPZGkh=6zSWQuX+v6J+oWiKy4=Ss7QU6VUywYCeQZxw@mail.gmail.com>
--===============4404959858023341618==
Content-Type: multipart/alternative; boundary="0000000000007491b50642cc0688"

--0000000000007491b50642cc0688
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

http://localhost:8080/exist/rest/db/apps/irhb/?_query=3Dxmldb:collection-av=
ailable(%22/db/apps/irhb/data/originators/A%22)

*returns*

<exist:result xmlns:exist=3D"http://exist.sourceforge.net/NS/exist" exist:h=
its
=3D"1" exist:start=3D"1" exist:count=3D"1" exist:compilation-time=3D"1"
exist:execution-time=3D"1">
<exist:value exist:type=3D"xs:boolean">*true*</exist:value>
</exist:result>[,]

*but*

http://localhost:8080/exist/rest/db/apps/irhb/?_query=3Dxmldb:collection-av=
ailable(%22/db/apps/irhb/data/originators/=C3=85%22)
<http://localhost:8080/exist/rest/db/apps/irhb/?_query=3Dxmldb:collection-a=
vailable(%22/db/apps/irhb/data/originators/%C3%85%22)>

*returns *

<exist:result xmlns:exist=3D"http://exist.sourceforge.net/NS/exist" exist:h=
its
=3D"1" exist:start=3D"1" exist:count=3D"1" exist:compilation-time=3D"0"
exist:execution-time=3D"0">
<exist:value exist:type=3D"xs:boolean">*false*</exist:value>
</exist:result>[.]

I did create the collection "=C3=85" and can confirm its existence as well =
as
access documents in it via eXide and oXygen.

Wrapping the parameter of xmldb:collection-available in util:unescape-uri(
, "UTF-8"), xmldb:decode() or xmldb:decode-uri() doesn't help. Replacing
"=C3=85" in the URL with "%C3%85" also doesn't do the trick. How can I make
xmldb:collection-available
recognize the collection and others with name outside the a-z, A-Z ranges?

Any help would be much appreciated,

Henrik

--0000000000007491b50642cc0688
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-size:large"><a =
href=3D"http://localhost:8080/exist/rest/db/apps/irhb/?_query=3Dxmldb:colle=
ction-available(%22/db/apps/irhb/data/originators/A%22)">http://localhost:8=
080/exist/rest/db/apps/irhb/?_query=3Dxmldb:collection-available(%22/db/app=
s/irhb/data/originators/A%22)</a></div><div class=3D"gmail_default" style=
=3D"font-size:large"><i><br></i></div><div class=3D"gmail_default" style=3D=
"font-size:large"><i>returns</i></div><div class=3D"gmail_default" style=3D=
"font-size:large"><span style=3D"color:rgb(0,0,0);font-family:monospace;fon=
t-size:13px"><br></span></div><div class=3D"gmail_default" style=3D"font-si=
ze:large"><span style=3D"color:rgb(0,0,0);font-family:monospace;font-size:1=
3px">&lt;exist:result</span><span class=3D"gmail-html-attribute" style=3D"c=
olor:rgb(0,0,0);font-family:monospace;font-size:13px">=C2=A0<span class=3D"=
gmail-html-attribute-name">xmlns:exist</span>=3D&quot;<span class=3D"gmail-=
html-attribute-value"><a href=3D"http://exist.sourceforge.net/NS/exist">htt=
p://exist.sourceforge.net/NS/exist</a></span>&quot;</span><span class=3D"gm=
ail-html-attribute" style=3D"color:rgb(0,0,0);font-family:monospace;font-si=
ze:13px">=C2=A0<span class=3D"gmail-html-attribute-name">exist:hits</span>=
=3D&quot;<span class=3D"gmail-html-attribute-value">1</span>&quot;</span><s=
pan class=3D"gmail-html-attribute" style=3D"color:rgb(0,0,0);font-family:mo=
nospace;font-size:13px">=C2=A0<span class=3D"gmail-html-attribute-name">exi=
st:start</span>=3D&quot;<span class=3D"gmail-html-attribute-value">1</span>=
&quot;</span><span class=3D"gmail-html-attribute" style=3D"color:rgb(0,0,0)=
;font-family:monospace;font-size:13px">=C2=A0<span class=3D"gmail-html-attr=
ibute-name">exist:count</span>=3D&quot;<span class=3D"gmail-html-attribute-=
value">1</span>&quot;</span><span class=3D"gmail-html-attribute" style=3D"c=
olor:rgb(0,0,0);font-family:monospace;font-size:13px">=C2=A0<span class=3D"=
gmail-html-attribute-name">exist:compilation-time</span>=3D&quot;<span clas=
s=3D"gmail-html-attribute-value">1</span>&quot;</span><span class=3D"gmail-=
html-attribute" style=3D"color:rgb(0,0,0);font-family:monospace;font-size:1=
3px">=C2=A0<span class=3D"gmail-html-attribute-name">exist:execution-time</=
span>=3D&quot;<span class=3D"gmail-html-attribute-value">1</span>&quot;</sp=
an><span style=3D"color:rgb(0,0,0);font-family:monospace;font-size:13px">&g=
t;</span></div><div class=3D"gmail_default" style=3D"font-size:large"><div =
class=3D"gmail-opened" style=3D"margin-left:1em;color:rgb(0,0,0);font-famil=
y:monospace;font-size:13px"><div class=3D"gmail-line"><span class=3D"gmail-=
html-tag">&lt;exist:value<span class=3D"gmail-html-attribute">=C2=A0<span c=
lass=3D"gmail-html-attribute-name">exist:type</span>=3D&quot;<span class=3D=
"gmail-html-attribute-value">xs:boolean</span>&quot;</span>&gt;</span><b>tr=
ue</b><span class=3D"gmail-html-tag">&lt;/exist:value&gt;</span></div></div=
><div class=3D"gmail-line" style=3D"color:rgb(0,0,0);font-family:monospace;=
font-size:13px"><span class=3D"gmail-html-tag">&lt;/exist:result&gt;[,]</sp=
an></div><div class=3D"gmail-line" style=3D"color:rgb(0,0,0);font-family:mo=
nospace;font-size:13px"><span class=3D"gmail-html-tag"><br></span></div></d=
iv><div class=3D"gmail_default" style=3D"font-size:large"><i>but</i></div><=
div class=3D"gmail_default" style=3D"font-size:large"><br></div><div class=
=3D"gmail_default" style=3D"font-size:large"><a href=3D"http://localhost:80=
80/exist/rest/db/apps/irhb/?_query=3Dxmldb:collection-available(%22/db/apps=
/irhb/data/originators/%C3%85%22)">http://localhost:8080/exist/rest/db/apps=
/irhb/?_query=3Dxmldb:collection-available(%22/db/apps/irhb/data/originator=
s/=C3=85%22)</a></div><div class=3D"gmail_default" style=3D"font-size:large=
"><br></div><div class=3D"gmail_default" style=3D"font-size:large"><i>retur=
ns=C2=A0</i></div><div class=3D"gmail_default" style=3D"font-size:large"><b=
r></div><div class=3D"gmail_default" style=3D""><div class=3D"gmail-line" s=
tyle=3D"font-size:13px;color:rgb(0,0,0);font-family:monospace"><span class=
=3D"gmail-html-tag">&lt;exist:result<span class=3D"gmail-html-attribute">=
=C2=A0<span class=3D"gmail-html-attribute-name">xmlns:exist</span>=3D&quot;=
<span class=3D"gmail-html-attribute-value"><a href=3D"http://exist.sourcefo=
rge.net/NS/exist">http://exist.sourceforge.net/NS/exist</a></span>&quot;</s=
pan><span class=3D"gmail-html-attribute">=C2=A0<span class=3D"gmail-html-at=
tribute-name">exist:hits</span>=3D&quot;<span class=3D"gmail-html-attribute=
-value">1</span>&quot;</span><span class=3D"gmail-html-attribute">=C2=A0<sp=
an class=3D"gmail-html-attribute-name">exist:start</span>=3D&quot;<span cla=
ss=3D"gmail-html-attribute-value">1</span>&quot;</span><span class=3D"gmail=
-html-attribute">=C2=A0<span class=3D"gmail-html-attribute-name">exist:coun=
t</span>=3D&quot;<span class=3D"gmail-html-attribute-value">1</span>&quot;<=
/span><span class=3D"gmail-html-attribute">=C2=A0<span class=3D"gmail-html-=
attribute-name">exist:compilation-time</span>=3D&quot;<span class=3D"gmail-=
html-attribute-value">0</span>&quot;</span><span class=3D"gmail-html-attrib=
ute">=C2=A0<span class=3D"gmail-html-attribute-name">exist:execution-time</=
span>=3D&quot;<span class=3D"gmail-html-attribute-value">0</span>&quot;</sp=
an>&gt;</span></div><div class=3D"gmail-opened" style=3D"font-size:13px;mar=
gin-left:1em;color:rgb(0,0,0);font-family:monospace"><div class=3D"gmail-li=
ne"><span class=3D"gmail-html-tag">&lt;exist:value<span class=3D"gmail-html=
-attribute">=C2=A0<span class=3D"gmail-html-attribute-name">exist:type</spa=
n>=3D&quot;<span class=3D"gmail-html-attribute-value">xs:boolean</span>&quo=
t;</span>&gt;</span><b>false</b><span class=3D"gmail-html-tag">&lt;/exist:v=
alue&gt;</span></div></div><div class=3D"gmail-line" style=3D"font-size:13p=
x;color:rgb(0,0,0);font-family:monospace"><span class=3D"gmail-html-tag">&l=
t;/exist:result&gt;[.]</span></div><div class=3D"gmail-line" style=3D"font-=
size:13px;color:rgb(0,0,0);font-family:monospace"><span class=3D"gmail-html=
-tag"><br></span></div><div class=3D"gmail-line" style=3D"color:rgb(0,0,0)"=
><span class=3D"gmail-html-tag" style=3D""><font face=3D"arial, sans-serif"=
 style=3D"" size=3D"4">I did create the collection &quot;=C3=85&quot; and c=
an confirm its existence as well as=C2=A0 access documents in it via eXide =
and oXygen.</font></span></div><div class=3D"gmail-line" style=3D"color:rgb=
(0,0,0)"><span class=3D"gmail-html-tag" style=3D""><font face=3D"arial, san=
s-serif" style=3D"" size=3D"4"><br></font></span></div><div class=3D"gmail-=
line" style=3D"color:rgb(0,0,0)"><span class=3D"gmail-html-tag" style=3D"">=
<font face=3D"arial, sans-serif" style=3D"" size=3D"4">Wrapping the paramet=
er of xmldb:collection-available in util:unescape-uri( , &quot;UTF-8&quot;)=
, xmldb:decode() or xmldb:decode-uri() doesn&#39;t help. Replacing &quot;=
=C3=85&quot; in the URL with &quot;</font></span><span style=3D"color:rgb(3=
4,34,34)"><font size=3D"4">%C3%85</font></span><span style=3D"font-family:a=
rial,sans-serif;font-size:large">&quot; also doesn&#39;t do the trick. How =
can I make=C2=A0</span><span style=3D"font-family:arial,sans-serif;font-siz=
e:large">xmldb:collection-available recognize the collection=C2=A0and other=
s with name outside the a-z, A-Z ranges?</span></div><div class=3D"gmail-li=
ne" style=3D"color:rgb(0,0,0)"><span style=3D"font-family:arial,sans-serif;=
font-size:large"><br></span></div><div class=3D"gmail-line" style=3D"color:=
rgb(0,0,0)"><span style=3D"font-family:arial,sans-serif;font-size:large">An=
y help would be much=C2=A0appreciated,</span></div><div class=3D"gmail-line=
" style=3D"color:rgb(0,0,0)"><span style=3D"font-family:arial,sans-serif;fo=
nt-size:large"><br></span></div><div class=3D"gmail-line" style=3D"color:rg=
b(0,0,0)"><span style=3D"font-family:arial,sans-serif;font-size:large">Henr=
ik</span></div><div class=3D"gmail-line" style=3D"font-size:13px;color:rgb(=
0,0,0);font-family:monospace"><span class=3D"gmail-html-tag"><br></span></d=
iv><div class=3D"gmail-line" style=3D"font-size:13px;color:rgb(0,0,0);font-=
family:monospace"><span class=3D"gmail-html-tag"><br></span></div><div clas=
s=3D"gmail-line" style=3D"font-size:13px;color:rgb(0,0,0);font-family:monos=
pace"><span class=3D"gmail-html-tag"><br></span></div></div></div>

--0000000000007491b50642cc0688--


--===============4404959858023341618==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--===============4404959858023341618==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Exist-open mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/exist-open

--===============4404959858023341618==--