Context: this is for interoperability with Oxygen and other Java environments via XQJ. Java's URI classes still conform to RFC 2396, which allows skipping the authority section of the URI entirely, including the "//". RFC 2396 has been obsoleted by RFC 3986, which does not allow this, and which is what Zorba implements. However, unfortunately, Java isn't likely to change anytime soon.
We could fix this in two places: Either we could update our URI code to allow this case directly, or we could add a layer inside XQJ which "translates" these URIs. There are downsides either way. If we can do it in our URI code without causing other problems, that's probably the better approach, but I don't know if it's possible (presumably the RFC was changed for some good reason, which we may re-discover if we attempt to make the change at that low a level). -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/921258 Title: URIs for files should be valid with one slash Status in Zorba - The XQuery Processor: New Bug description: URIs for files should be valid with only one slash. This examples should be valid: file:///C:/file.xq file:/C:/file.xq To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/921258/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : firstname.lastname@example.org Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp