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

Re: URI test cases?

From: Dan Connolly <connolly@w3.org>
Date: Wed, 19 Feb 2003 10:27:23 -0600
To: Graham Klyne <GK@ninebynine.org>
Cc: uri@w3.org
Message-id: <1045672042.478.2.camel@dirk.dm93.org>

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

it includes the set in the appendix of
  http://www.ietf.org/rfc/rfc2396.txt

Note things like...

            (base, '../../../g', 'http://a/g'), #@@disagree with RFC2396
            (base, '../../../../g', 'http://a/g'), #@@disagree with RFC2396

I should probably check those against Roy's issues list.

> #g
> 
> 
> -------------------
> Graham Klyne
> <GK@NineByNine.org>
-- 
Dan Connolly, W3C http://www.w3.org/People/Connolly/
Received on Wednesday, 19 February 2003 11:27:33 GMT

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