From: Evgeny G. <gaz...@gm...> - 2011-02-02 08:57:08
|
Specs: http://www.w3.org/Addressing/URL/url-spec.html#z57 Both URI are valid. Problem: when eXist try to open a doc, it split URI to two path: collection URI and relative doc URI so URI like "/aaa/foo:bar.xml" will be converted to "/db/aaa/foo:bar.xml" and then splited for parts: "/db/aaa" - collection URI and "foo:bar.xml" - relative URI (lastSegment) of doc in collection "/db/aaa". Both parts eXist interpret as XmldbURI. In result we have exception, becouse foo:bar.xml have right xmldb scheme. P.S. Question in subject is not "valid or invalid" URI, but eXist's behavior. -- Evgeny |