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

Re: URI test cases?

From: Graham Klyne <GK@NineByNine.org>
Date: Thu, 20 Feb 2003 18:08:17 +0000
Message-Id: <5.1.0.14.2.20030220180507.00a10450@127.0.0.1>
To: Dan Connolly <connolly@w3.org>
Cc: uri@w3.org

At 10:27 AM 2/19/03 -0600, Dan Connolly wrote:
>On Wed, 2003-02-19 at 09:20, Graham Klyne wrote:
> > Is there a suite of test cases for URis, covering basic syntax, finding
> > relative forms, finding absolute forms, etc.?
>
>Good question.
>
>I keep a set of test cases in
>   http://www.w3.org/2000/10/swap/uripath.py

Maybe a couple of others to consider?:

   "http://example/x/y%2Fz"  "http://example/x/abc"      "abc"
   "http://example/x/y/z"    "http://example/x%2Fabc"    "../../x%2Fabc"
   "http://example/x/y%2Fz"  "http://example/x%2Fabc"    "../x%2Fabc"
   "http://example/x%2Fy/z"  "http://example/x%2Fy/abc"  "abc"

#g


-------------------
Graham Klyne
<GK@NineByNine.org>
Received on Thursday, 20 February 2003 15:41:26 GMT

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