W3C home > Mailing lists > Public > w3c-ietf-xmldsig@w3.org > April to June 2002

Re: URI Or Not?

From: Christian Geuer-Pollmann <geuer-pollmann@nue.et-inf.uni-siegen.de>
Date: Fri, 17 May 2002 12:31:53 +0200
To: tony@vordel.com, w3c-ietf-xmldsig@w3.org
Message-ID: <17837769.1021638713@crypto>
>   The value of the URI attribute contained in the Reference element in
> Manoj's example is "logo-text.gif". Should this not be prepended with
> "file://" to give URI="file://logo-text.gif" to make it a valid URI?

No, no need to.

file://logo-text.gif is an ABSOLUTE URL.

logo-text.gif is a RELATIVE URL and refers to the same directory in which 
the file resides which carries the XML Signature. For instance, if the 
signature file is in


, the URI="logo-text.gif" refers to the entity (file)


. If the signature is in a file on URL

file://C|/My Documents/Tony/mySignature.xml

, the relative URI refers to

file://C|/My Documents/Tony/logo-text.gif

. The advantage of a relative URI for a detached signature is that you can 
move around signature and signed contents from your local file system to a 
web server or whatever, the signature remains valid (as long as the target 
system supports the concept of what-is-a-directory and 

Received on Friday, 17 May 2002 06:27:00 UTC

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