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

Value for p:declare type? #789

eriksiegel opened this Issue Mar 16, 2019 · 3 comments


None yet
3 participants
Copy link

eriksiegel commented Mar 16, 2019

Details. details: I wonder if this is allowed:

<p:declare-step xmlns="my-namespace-for-steps" type="mystep">

Is the default namespace used in determining step types?


This comment has been minimized.

Copy link

xml-project commented Mar 17, 2019

Yes, we need to say more about this. type is marked as an EQName and XPath 3.1 says about EQNames without prefix:

A name written in this form has no prefix, and the rules for determining the namespace depend on the context in which the name appears.

Any preferences?


This comment has been minimized.

Copy link
Contributor Author

eriksiegel commented Mar 17, 2019

I would prefer that a namespace prefix is mandatory (or Q{...} notation, maybe). Like the QName magic. Then its always clear that this type thing is in a namespace.

But I'm not sure whether that would be "unnaturally" or un-XML-sh.


This comment has been minimized.

Copy link

ndw commented Mar 20, 2019

Names without colons are in no namespace (except for the Q{}name formulation, of course), step types are forbidden from being in no namespace.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.