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

XPath match accepts unresolved namespace #588

Open
olofhagsand opened this issue Dec 17, 2024 · 0 comments
Open

XPath match accepts unresolved namespace #588

olofhagsand opened this issue Dec 17, 2024 · 0 comments
Labels

Comments

@olofhagsand
Copy link
Member

olofhagsand commented Dec 17, 2024

Clixon full namespace match, such as in a call to:

    xpath_first(x, nsc, xpath)

tolerates unresolved namespaces in xpath (ie that are not in nsc).
Forcing this check breaks some code and some tests.
A temporary compile-time constant XPATH_NS_ACCEPT_UNRESOLVED has been added as a work-around until the code and tests have been upgraded.

@olofhagsand olofhagsand changed the title XPath match too lax on unresolved namespace XPath match accepts unresolved namespace Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant