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

Declaring options in XProc's namespace #557

Closed
xml-project opened this Issue Oct 12, 2018 · 2 comments

Comments

Projects
None yet
2 participants
@xml-project
Contributor

xml-project commented Oct 12, 2018

From another discussion: Nothing in the current specs (at least as far as I can see), prevents a pipeline author from doing this:

<p:option name="p:my-option"/>

I think we should forbid this so we do not run into problems with XProc's standard options.
It is not your namespace, so do not use it.

@xml-project xml-project self-assigned this Oct 12, 2018

@ndw

This comment has been minimized.

Contributor

ndw commented Oct 12, 2018

My turn:

It is a static error (err:XS0028) to declare an option or variable in the XProc namespace.

@xml-project

This comment has been minimized.

Contributor

xml-project commented Oct 12, 2018

Thank you, Sir!

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