W3C home > Mailing lists > Public > uri@w3.org > June 2003

[043-same-scheme] Should reference resolver ignore scheme if same as base URI?

From: Roy T. Fielding <fielding@apache.org>
Date: Wed, 4 Jun 2003 13:29:41 -0700
To: uri@w3.org
Message-Id: <44F67DAE-96CB-11D7-84EE-000393753936@apache.org>

I have added a new issue for comment.

http://www.apache.org/~fielding/uri/rev-2002/issues.html#043-same-scheme

The changes already made for draft 03 for the remove_dot_segments
algorithm makes it possible to remove the exception altogether
and define the "backward compatible" result as the standard.

The reason this could not be done in the past was because a document
with an opaque base URI, such as "this:top", might have similar
references within it mangled by the parser:  e.g., an absolute ref
to "this:that" would be forced into "this:/that".  As you can imagine,
such a result would be upsetting to the urn scheme.  Since this is
no longer the case with the new algorithm, we could fix this once
and for all by specifying the loophole result as the standard.

It would help if folks test a reference like "http:this" in their
favorite parsers with a normal http base URI and tell us what
the result is for current implementations.

....Roy
Received on Wednesday, 4 June 2003 16:30:52 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 13 January 2011 12:15:31 GMT