W3C home > Mailing lists > Public > w3c-ietf-xmldsig@w3.org > July to September 2001

Re: What's a relative Namespace URI?

From: Donald E. Eastlake 3rd <dee3@torque.pothole.com>
Date: Wed, 25 Jul 2001 08:33:00 -0400
Message-Id: <200107251233.IAA0000048279@torque.pothole.com>
To: Christian Geuer-Pollmann <geuer-pollmann@nue.et-inf.uni-siegen.de>
cc: w3c-ietf-xmldsig@w3.org

The path part is absolute if it starts with a "/". In your last
example "/../blah" is an absolute path because it assumes a root
starting place while "../blah" is relative to wherever you happen to
be.

Any complete "//" type URI, that is, one with "scheme://" in it, has
to be absolute because the path part starts with a "/" and the root is
defined by the stuff before that "/".  So in your last example,
"http://www.w3.org" defines a root (probably as part of the
configuration of that http server) and "/../blah" navigates from that
root. It is absolute because it is indpendent of the context ("web
page") where this URL occurs.

Donald

From:  Christian Geuer-Pollmann <geuer-pollmann@nue.et-inf.uni-siegen.de>
Date:  Wed, 25 Jul 2001 14:14:02 +0200
To:  w3c-ietf-xmldsig@w3.org
Message-ID:  <3932996628.996070442@clouseau>

>Hi all,
>
>what's a relative namespace URI?
>
>Absolute: "http://www.w3.org/Signature/"
>Relative: "../blah"
>Relative: "blah"
>
>But what's with things like "http://www.w3.org/../blah"
>
>
>
>Christian
>
Received on Wednesday, 25 July 2001 08:34:21 UTC

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