Skip to content

Support for xpointer root and id search - #49

Open
ketoketo wants to merge 1 commit into
benoist:masterfrom
ketoketo:support-xpointer-reference
Open

Support for xpointer root and id search#49
ketoketo wants to merge 1 commit into
benoist:masterfrom
ketoketo:support-xpointer-reference

Conversation

@ketoketo

@ketoketo ketoketo commented Nov 25, 2021

Copy link
Copy Markdown

I've added support for xpointer root and id search.
https://www.w3.org/TR/xmldsig-core/#sec-ReferenceProcessingModel

We RECOMMEND support for the same-document XPointers '#xpointer(/)' and '#xpointer(id('ID'))' if the application also intends to support any canonicalization that preserves comments. (Otherwise URI="#foo" will automatically remove comments before the canonicalization can even be invoked due to the processing defined in Same-Document URI-References (section 4.4.3.3).) All other support for XPointers is optional,

The other features of xpointer are not implemented because they are optional.
The process of searching for an id from node is now a function to use the existing implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant