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

Contradiction concerning p:output/serialization? #716

Closed
xml-project opened this Issue Jan 17, 2019 · 1 comment

Comments

Projects
None yet
2 participants
@xml-project
Copy link
Contributor

xml-project commented Jan 17, 2019

In the section about attribute serialization on p:output we say:

If the processor is not serializing (if, for example, the pipeline has been called from another pipeline), then the serialization must be ignored.

But in the section on static analysis we say:

Value templates in the attributes or descendants of p:input and p:output and map attributes on those descendants.

Now suppose the value for "serialization" is not syntactically valid or uses undeclared variables/functions. According to the "static-analysis" section, this is a static error regardless of the actual serialization. So the attribute is not "ignored" as said in the section on "serialization".

I think what we want is that a static error is raised, if the expression is invalid, but the values in the map are ignored unless they are actually used.

Did I miss something?

@ndw

This comment has been minimized.

Copy link
Contributor

ndw commented Jan 26, 2019

No, that sounds right. I think the former statement is just worded too strongly.

@ndw ndw self-assigned this Jan 26, 2019

ndw added a commit to ndw/3.0-specification that referenced this issue Jan 26, 2019

@ndw ndw closed this in #726 Jan 26, 2019

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