You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "michael-hoke (via GitHub)" <gi...@apache.org> on 2023/04/27 15:59:53 UTC

[GitHub] [daffodil-vscode] michael-hoke opened a new issue, #594: Use daffodil-tdml library

michael-hoke opened a new issue, #594:
URL: https://github.com/apache/daffodil-vscode/issues/594

   Use official TDML library from https://mvnrepository.com/artifact/org.apache.daffodil/daffodil-tdml and remove scalaxjc.


-- 
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.apache.org

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


Re: [I] Use daffodil-tdml library [daffodil-vscode]

Posted by "nlewis05 (via GitHub)" <gi...@apache.org>.
nlewis05 commented on issue #594:
URL: https://github.com/apache/daffodil-vscode/issues/594#issuecomment-1906829994

   Work was being completed under this PR on the apache-daffodil repo https://github.com/apache/daffodil/pull/1057


-- 
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


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

Posted by "nlewis05 (via GitHub)" <gi...@apache.org>.
nlewis05 commented on issue #594:
URL: https://github.com/apache/daffodil-vscode/issues/594#issuecomment-1640564760

   Issue was created here https://issues.apache.org/jira/browse/DAFFODIL-2830 to capture need for JAXB bindings being added to Daffodil


-- 
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


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

Posted by "arosien (via GitHub)" <gi...@apache.org>.
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


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

Posted by "NolanMatt (via GitHub)" <gi...@apache.org>.
NolanMatt commented on issue #594:
URL: https://github.com/apache/daffodil-vscode/issues/594#issuecomment-1609798406

   Currently the TDML Library only supports execute operation and not generate/append.  We'd need to make updates to the TDML Library itself within daffodil to be able to use the library for all that we currently do.
   
   Steve:
   Currently the TDML library does not support a way to modify TDML files. 
   In fact, I believe all the TDML data structures are immutable and are initialized by reading XML, so there might need to be some refactoring or redesigns to make it more amenable to changes/generation.
   
   But I personally think that would be very valuable. There is a lot of boilerplate related to TDML files, so a programmatic way to hide all that could be very useful. Especially as the VS Code extension matures, I can imagine it completely hiding the fact that there's an XML description of the tests and it all just being in a simple user interface with input/check boxes for data, infoset, roundTrip, validation, run, etc.
   


-- 
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


Re: [I] Use daffodil-tdml library [daffodil-vscode]

Posted by "hdalsania (via GitHub)" <gi...@apache.org>.
hdalsania commented on issue #594:
URL: https://github.com/apache/daffodil-vscode/issues/594#issuecomment-2000125073

   Once the https://github.com/apache/daffodil/pull/1057 merged on DFDL side, We need to import the latest DFDL version and then remove scalaxjc with official TDML library from https://mvnrepository.com/artifact/org.apache.daffodil/daffodil-tdml. This library will only be available in maven after DFDL cut release with above PR. 
   
   


-- 
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