+1 from me. Sounds like the right way to go. -----Original Message----- From: Mike Beckerle <mbecke...@apache.org> Sent: Monday, July 11, 2022 3:19 PM To: dev@daffodil.apache.org Subject: EXT: CLI -I sax feature - remove?
WARNING: This email originated from outside of GE. Please validate the sender's email address before clicking on links or attachments as they may not be safe. In the CLI, there is the -I option to specify infoset-type. One of the choices is 'sax'. This is a mistake I think. This is really "XML text by way of calling the SAX API". It's effectively a testing mode for us. SAX usage is inherently an API. I believe we should remove this feature from the CLI, because it creates a lot of confusion. It requires test-mode things to be in the main-libraries where the CLI can find them. If we require SAX to be used as it is intended, from applications calling Daffodil via APIs, then all this "xml text to/from SAX-event" code all ends up in src/test where it belongs. Thoughts?