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

Step options of type QName need to be finessed #528

Open
ndw opened this Issue Sep 6, 2018 · 0 comments

Comments

Projects
None yet
2 participants
@ndw
Contributor

ndw commented Sep 6, 2018

Making the option type 'xs:QName' is going to be inconvenient for users:

<p:add-attribute attribute-name="xs:QName('p:foo')"/>

We probably need to say that it's value is anyAtomicType. If it's a string, then we apply the rules for converting it to a qname (including the rule about colons), if it's lexically an EQName then make it into a QName that way.

Introduce new dynamic errors for attempts to use non-string values (5, 3.4, etc.) or strings that aren't lexically QNames.

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