ISSUE-140: Clarify how XPath is interpreted relative to entire document and ds:Reference
Clarify how XPath is interpreted relative to entire document and ds:Reference
- State:
- CLOSED
- Product:
- XML Signature 2.0
- Raised by:
- Scott Cantor
- Opened on:
- 2009-09-08
- Description:
- Current editors draft clarifies that the XPaths are relative to the root of the selection URI, which could be a child in the document if the reference is to an ID.
Pratik indicates this isn't streamable, so we're debating options on how to combine URI and XPath selection. - Related Actions Items:
- No related actions
- Related emails:
- 2.0 Issues - status? (from Frederick.Hirsch@nokia.com on 2011-01-03)
- F2F Agenda (v2) 1-2 November 2010 (from Frederick.Hirsch@nokia.com on 2010-10-26)
- Agenda - Distributed Meeting 2010-10-26 (from Frederick.Hirsch@nokia.com on 2010-10-25)
- Agenda - Distributed Meeting 2010-08-03 (from Frederick.Hirsch@nokia.com on 2010-08-02)
- Agenda - Distributed Meeting 2010-07-27 (from Frederick.Hirsch@nokia.com on 2010-07-22)
- Agenda - Distributed Meeting 2010-07-06 (from Frederick.Hirsch@nokia.com on 2010-07-02)
- Updated draft minutes from 23 February, for review and approval (from frederick.hirsch@nokia.com on 2010-03-01)
- Updated F2F Minutes for Review and Approval (from frederick.hirsch@nokia.com on 2009-11-19)
- Draft minutes for Sep 8 (from cantor.2@osu.edu on 2009-09-08)
Related notes:
Currently the XML Signature 2.0 XPath Subset does not allow relative XPaths. Scott suggested that we should allow relative XPaths, and these XPaths should be relative to the node where the Reference URI was pointing to.
E.g. if the
<Reference URI="#id1">
<ExcludedXpath> ./foo</ExcludedXPath>
this should mean that you want to sign a subtree with id "id1" but exclude the <foo> subelement from it.
[fjh]: general issue - will 2.0 work with document subsets that are moved into new document contexts
27 Jul 2010, 15:29:47[fjh]: current draft addresses concern
4 Jan 2011, 16:43:01[fjh]: see ACTION-748
4 Jan 2011, 16:43:40Display change log