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

Make the argument type of several extension functions xs:QName #687

ndw opened this Issue Jan 3, 2019 · 2 comments


None yet
2 participants

ndw commented Jan 3, 2019

Several extension functions (p:system-property, p:step-available, ...) take a string as an argument and then have special rules about how it's transformed into a QName.

I propose that we make the arguments into xs:QNames and assert that the standard QName magic applies.

That'll work, right?


This comment has been minimized.


xml-project commented Jan 3, 2019

Nope, because the rules we have so far are for variables/options with type xs:QName not for parameters. So we have we would have to add some more magic.
I would not resist this in general, but I think we should think about the consequences for XPath functions (standard and user-defined) in general. Treating "our" functions different from the other one seems odd, doesn't it.


This comment has been minimized.


ndw commented Jan 3, 2019

Oh, indeed.

@ndw ndw closed this Jan 3, 2019

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