xproc / 3.0-steps

Repository for change requests to the standard step library and for official extension steps
10 stars 7 forks source link

Signature of output ports of p:os-exec #540

Closed xml-project closed 1 year ago

xml-project commented 1 year ago

Output ports "result" and "error" are not declared as sequence. But there are surely cases, were result or error is empty. What to return in this case for the different values of "result-content-type". An empty std:out will not be a valid XML document, nor a valid JSON document, nor a valid Text document. My expectation: The port is empty, but then it has to be declared as sequence. What did I miss?

xatapult commented 1 year ago

I agree, sounds to me like a no-brainer oversight in the p:os-exec spec.