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

At 13:29 04/06/03 -0700, Roy T. Fielding wrote:
>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.

Mine does this.  I tried to faithfully copy the algorithm in RFC2396bis 
(-01) when I implemented it.

testRelative72 = testRelJoin "testRelative72"
                     "http://example.org/base/uri" "http:this"
                     "http:this"

Meaning "http:this" relative to base "http://example.org/base/uri" 
evaluates to "http:this".

Also:

testRelative73 = testRelJoin "testRelative73"
                     "http:base" "http:this"
                     "http:this"

#g



-------------------
Graham Klyne
<GK@NineByNine.org>
PGP: 0FAA 69FF C083 000B A2E9  A131 01B9 1C7A DBCA CB5E

Received on Thursday, 5 June 2003 04:26:21 UTC