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

Re: Syntax-based normalization on relative URIs?

From: Joe Gregorio <joe@bitworking.org>
Date: Sat, 23 Feb 2008 18:23:57 -0500
Message-ID: <3f1451f50802231523p1b58dfbdu9b7e77b1d720d8ed@mail.gmail.com>
To: "Sebastian Pipping" <webmaster@hartwork.org>
Cc: uri@w3.org

Not sure what the 4suite normalization tests are, but here are
the examples from RFC 3986:

  http://tools.ietf.org/html/rfc3986#section-5.4.1

  -joe

On Sat, Feb 23, 2008 at 4:12 PM, Sebastian Pipping
<webmaster@hartwork.org> wrote:
>
>
>  Sebastian Pipping wrote:
>  > Why are dot segments not removed when normalizing
>  > relative URIs? For example this testcase from 4Suite:
>  >
>  >   pathSegmentNormalizationTests = [
>  >     ..
>  >     ('a/b/../../c', 'a/b/../../c'),
>  >     ..
>  >
>  >   (and not "c" instead)
>  >
>  > A short explanation or a link would be great.
>
>  Anybody? I had code normalizing relative
>  URIs almost ready and then stumbled upon
>  this testcase again. In case I asked this
>  before I cannot find the related mail.
>  Please help me!
>
>  Thank you!
>
>
>
>  Sebastian
>
>



-- 
Joe Gregorio        http://bitworking.org
Received on Saturday, 23 February 2008 23:24:27 UTC

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