|
From: Henrik N. <hen...@gm...> - 2025-11-04 22:05:21
|
http://localhost:8080/exist/rest/db/apps/irhb/?_query=xmldb:collection-available(%22/db/apps/irhb/data/originators/A%22) *returns* <exist:result xmlns:exist="http://exist.sourceforge.net/NS/exist" exist:hits ="1" exist:start="1" exist:count="1" exist:compilation-time="1" exist:execution-time="1"> <exist:value exist:type="xs:boolean">*true*</exist:value> </exist:result>[,] *but* http://localhost:8080/exist/rest/db/apps/irhb/?_query=xmldb:collection-available(%22/db/apps/irhb/data/originators/Å%22) <http://localhost:8080/exist/rest/db/apps/irhb/?_query=xmldb:collection-available(%22/db/apps/irhb/data/originators/%C3%85%22)> *returns * <exist:result xmlns:exist="http://exist.sourceforge.net/NS/exist" exist:hits ="1" exist:start="1" exist:count="1" exist:compilation-time="0" exist:execution-time="0"> <exist:value exist:type="xs:boolean">*false*</exist:value> </exist:result>[.] I did create the collection "Å" 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 "Å" 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 |