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 parsing of xs:* built-in list types #140

Open
digre opened this issue Jul 21, 2024 · 0 comments
Open

xpath parsing of xs:* built-in list types #140

digre opened this issue Jul 21, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@digre
Copy link

digre commented Jul 21, 2024

From XPATH-Function 3.1:
18.3 Constructor functions for XML Schema built-in list types
Each of the three built-in list types defined in [XML Schema Part 2: Datatypes Second Edition], namely xs:NMTOKENS, xs:ENTITIES, and xs:IDREFS, has an associated constructor function.

The function signatures are as follows:

xs:NMTOKENS($arg as xs:anyAtomicType?) as xs:NMTOKEN*
xs:ENTITIES($arg as xs:anyAtomicType?) as xs:ENTITY*
xs:IDREFS($arg as xs:anyAtomicType?) as xs:IDREF*

These functions result in:
XPath: Function: 'xs:NMTOKENS' with 1 arguments not found

Also, the prompt within an xpath expression does not include these functions.

@pgfearo pgfearo added the bug Something isn't working label Aug 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants