W3C home > Mailing lists > Public > uri@w3.org > April 2004

Re: test cases and implementation reports

From: Martin Duerst <duerst@w3.org>
Date: Tue, 20 Apr 2004 16:23:14 +0900
Message-Id: <>
To: "Roy T. Fielding" <fielding@gbiv.com>, uri@w3.org
Cc: Jose Kahan <jose.kahan@w3.org>, Laurent Carcone <Laurent.Carcone@inrialpes.fr>

I have created a testing page at http://www.w3.org/2004/04/uri-rel-test.html
to make (manual) testing of the implementations in various browsers easy.

I have used this page to test Amaya (my version, compiled from CVS
checkout on 2004-01-04). I don't know whether (or to what extent)
processing is done by Amaya or by libwww. Here are the results:

All tests are passed, except the following:

#       rel             correct                 Amaya

6       //g             http://g                http://g/ (additional slash)
7       ?y              http://a/b/c/d;p?y      http://a/b/c/?y (d;p removed)
9       #s              http://a/b/c/d;p?q#s    {testpage URI}#s
15                      http://a/b/c/d;p?q      not testable
                                                 (cursor cannot be placed 
in empty field)
43      g.              http://a/b/c/g.         http://a/b/c/g (dot removed)
51      ./../g          http://a/b/g            http://a/b/c/g (/c not removed)
55      g;x=1/./y       http://a/b/c/g;x=1/y    http://a/b/c/g;x=1/./y
                                                         (precedence of ; 
over /)
56      g;x=1/../y      http://a/b/c/y          http://a/b/c/g;x=1/../y
                                                         (precedence of ; 
over /)

For test 71, Amaya uses strict parsing.

Hope this helps.

Regards,     Martin.

At 18:57 04/04/19 -0700, Roy T. Fielding wrote:

>I have begun updating the test cases and adding reports to
>    http://gbiv.com/protocols/uri/test/
>If you have a URI syntax implementation (client, server,
>whatever), please test it for consistency with the given
>test cases (and any other tests that you wish to come up with
>based on draft 05) and send the results to this list.
>Roy T. Fielding                            <http://roy.gbiv.com/>
>Chief Scientist, Day Software              <http://www.day.com/>
Received on Tuesday, 20 April 2004 03:33:26 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:25:07 UTC