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.

  URIs for files should be valid with one slash

Status in Zorba - The XQuery Processor:

Bug description:
  URIs for files should be valid with only one slash.
  This examples should be valid:

To manage notifications about this bug go to:

Mailing list:
Post to     :
Unsubscribe :
More help   :

Reply via email to