Re: URI test cases?

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 UTC