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

Is XS0071 overtaken by events? #728

Closed
xml-project opened this Issue Jan 26, 2019 · 2 comments

Comments

Projects
None yet
2 participants
@xml-project
Copy link
Contributor

xml-project commented Jan 26, 2019

XS0071 is raised if the XPath expression refers to the name of a variable that is not present in the in-scope bindings. But only for the select-attribute on p:variable, p:option and p:with-option.

I think this special case is now overtaken by XS107:

It is a static error if any static XPath error is encountered during the static analysis of an expression, e.g. because the expression is not syntactically valid, contains reference to unknown variables, or makes use of undeclared functions.

Proposal: Remove XS0071.

@xml-project xml-project self-assigned this Jan 26, 2019

@ndw

This comment has been minimized.

Copy link
Contributor

ndw commented Jan 26, 2019

👍

@xml-project

This comment has been minimized.

Copy link
Contributor Author

xml-project commented Jan 27, 2019

Fixed with pr #730

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