Hello Daffodil team,

Thank you for this fantastic open source library. We've integrated Daffodil
with Smooks (https://github.com/smooks/smooks-dfdl-cartridge) and so far it
looks awesome. At the moment, we're implementing support for EDIFACT. We're
very close, but not quite there yet. In particular, the EDIFACT schemas,
available at
https://github.com/DFDLSchemas/EDIFACT/tree/daffodil-dev/src/main/resources,
don't seem to behave as expected when it comes to new lines.

When unparsing the infoset
https://raw.githubusercontent.com/DFDLSchemas/EDIFACT/daffodil-dev/src/test/resources/EDIFACT-SupplyChain-D03B/TestInfosets/INVOIC_D.03B_Interchange_with_UNA.xml,
the new line is missing between the "UNA" and "UNB" segments:
https://gist.github.com/claudemamo/6e381738bb1fa21fd7e14c6867380308. I've
played around with the expression setting the "ibmEdiFmt:SegmentTerm"
variable but didn't have much luck (
https://github.com/claudemamo/smooks-edifact-cartridge/blob/master/schemas/src/main/resources/EDIFACT-Common/EDIFACT-Service-Segments-4.1.dfdl.xsd#L128-L139).


Any advice?

Claude

Reply via email to