Re: [TDML] Options to ignore values and ordering?

2019-01-29 Thread Beckerle, Mike
It is possible to assemble a DFDL infoset programmatically. The InfosetInputters do this in order to feed data from XML into the unparser. This capability is not exposed for use from an external API for Daffodil like the JAPI/SAPI modules. The classes are there and can be used. Take a look

Re: [TDML] Options to ignore values and ordering?

2019-01-29 Thread Christofer Dutz
Hi Mike, thanks for that input. However I guess that I don’t even need full verification. A set of XPath expressions should be enough. The other direction however I think I could need some help with. Daffodil is able to serialize XML representations of my format. However is there a way to not h

The process used to create the DFDL standard - kudos!

2019-01-29 Thread Costello, Roger L.
Hello DFDL community, Years ago I participated in a standard's initiative called "microformats". The person who started and guided this initiative, Tantek Celik, was very firm in the process of creating new microformats. Before a person could propose a new microformat, the person must do resear

Re: [TDML] Options to ignore values and ordering?

2019-01-29 Thread Beckerle, Mike
I think you are going to have to write a special XML comparison tool. The unordered issue is usually handled by cannonicalization - i.e., sort things first, then verify the result of the sort against your expected data. You can use the XML comparison tool we wrote for the Daffodil TDML runner

[TDML] Options to ignore values and ordering?

2019-01-29 Thread Christofer Dutz
Hi all, I am currently trying to use DFDL, to define the interaction in industrial protocols with DFDL and SCXML (Other thread). Now I am defining in my SCXML document message content being sent via DFDL. However when defining the receiving part I would need something I could imagine is part of

Defining State machines ...

2019-01-29 Thread Christofer Dutz
Hi all, taking this over here as it’s no longer a topic for the dev list. As a little context: I am currently working on defining the industry protocols for the Apache PLC4X in a way that I can have my protocol implementations generated in the future, because at the moment they are hand-coded i