Closed xml-project closed 2 years ago
The p:run
step is odd in that its "static analysis" phase has to begin after it's been given a pipeline. The input pipeline must therefore have a version
attribute on its root element. That's option 2, I think.
I think there is a problem with @version on the dynamic pipeline executed on p:run. If the attribute is present, all is fine. But if the attribute is absense, I think in the current writing the following rule from the main specs applies:
However once the
p:declare-step
arrives on the input port of p:run, it is almost impossible for the compiler to know whether it comes from an p:inline (no @version required) or is loaded from an external document via p:document or p:load (in some previous step).Options:
version
is required for dynamically executed pipelines.I could life with both of them and may be (1) is more convinient to authors. Did I miss something?