Skip to content

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

@digre

Description

@digre

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions