W3C home > Mailing lists > Public > uri@w3.org > May 2002

comments on RFC 2396 relative URL examples

From: Larry Masinter <LMM@acm.org>
Date: Thu, 16 May 2002 22:44:59 -0700
To: <uri@w3.org>
Message-ID: <000201c1fd65$fb69e570$6ace8642@larrypad>

The example of resolving a relative URL could be improved.  It uses a
base
of http://a/b/c/d;p?q

Not wanting to read the RFC end to end, it took me a bit of searching to
find that the ;p part is a "parameter" and the ?q part is a "query".
But I
have no idea what their relevance is to this example.  It they are to be
ignored when attaching the relative parts, it would be nice to say so.

The basic expansion has one very confusing and not explained aspect.
The
relative path g is said to expand to http://a/b/c/g instead of
http://a/b/c/d/g.  The other expansions are obvious once the "remove d"
rule
is applied.  Would a base of http://a/b/c/d/ plus g expand to
http://a/b/c/d/g?


The examples should have enough annotation to
mostly stand on their own and to reinforce the concepts.
Received on Friday, 17 May 2002 02:40:04 GMT

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