You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "arosien (via GitHub)" <gi...@apache.org> on 2023/06/29 16:07:25 UTC

[GitHub] [daffodil-vscode] arosien commented on issue #594: Use daffodil-tdml library

arosien commented on issue #594:
URL: https://github.com/apache/daffodil-vscode/issues/594#issuecomment-1613469603

   I think the daffodil-tdml library isn't really for programmatic manipulation of test cases. It is more of an interpreter of the data that executes the test cases.
   
   Instead of using those classes, we can use the ones defined in the XSD files that we generate Scala data structures for, via JAXB, and then define extension methods to manipulate them (append test case, etc.). We can then [marshal](https://www.baeldung.com/jaxb#marshalling---converting-java-object-to-xml) these back to XML to pass to the daffodil-tdml `TDMLRunner` for execution.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@daffodil.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org