Piperack 1.0.18 will respect p:serialization settings for indentation, but not said system property.
It might seem like a bad idea to specify an indentation setting for the whole server, but there is a use case…
The text was updated successfully, but these errors were encountered:
Addition 1: If you have a primary and another output port, the 'indent' serialization property (maybe other serialization props, too) of the primary port will always be used for both ports, no matter what is specified for the non-primary port.
Repro: add <p:serialization port="result2" indent="false"/> to pipe.xpl as given on http://xmlcalabash.com/docs/reference/using-piperack.html
Addition 2 (not exactly about indentation, but I don’t want to spoil your break with too many distinct bug reports, so I’m reusing this issue): if none of the ports in pipe.xsl is primary and if I post an input doc to the source port and then run the pipeline, it will tell me that there’s 1 document waiting on each port, that’s ok so far. But when I’m trying to GET any of them from …/pipelines/…/outputs/result2 or from …/pipelines/…/outputs/result, I get the following error:
Exception or error caught in server resource
at com.xmlcalabash.model.Step.getOutput(Unknown Source)
at com.xmlcalabash.model.CompoundStep.getOutput(Unknown Source)
at com.xmlcalabash.runtime.XPipeline.getSerialization(Unknown Source)
at com.xmlcalabash.piperack.BaseResource.getOutput(Unknown Source)
at com.xmlcalabash.piperack.Output.get(Unknown Source)