Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for xpointer root and id search #49

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ketoketo
Copy link

@ketoketo ketoketo commented Nov 25, 2021

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