Re: URI test cases?

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 UTC