W3C home > Mailing lists > Public > public-xmlsec@w3.org > March 2011

Does Dsig 2.0 allow URIs with fragment identifiers

From: Pratik Datta <pratik.datta@oracle.com>
Date: Tue, 1 Mar 2011 00:01:43 -0800 (PST)
Message-ID: <5490bce2-24ae-45ab-8775-f88d07fe4a21@default>
To: public-xmlsec@w3.org
Should we allow   <dsig2:Selection> to have a URI of the form




i.e containing a fragment identifier at the end e.g.  "#chapter1"


this means that the implementation need to remove the fragment identifier from the URI, resolve the modified URI, parse it into XML and then look for an element containing an id of specified in the fragment.  I am not sure if this was MANDATORY to implement in Dsig 1.0.



There is currently an inconsistency in section 10.6.1

In the first para it says that URI attribute is required, but later on it says that either URI attribute should be present or IncludedXPath should be present.  I need to modify it to say something like this -  The IncludedXPath cannot be present if the URI has a fragment identifier.


Received on Tuesday, 1 March 2011 08:02:36 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:55:15 UTC