commit | dfc370868431182b843644defaa264695d8a27e1 | [log] [tgz] |
---|---|---|
author | Ian Carlson <icarlson@owlcybersecurity.com> | Wed Oct 21 16:51:22 2020 -0500 |
committer | Steve Lawrence <stephen.d.lawrence@gmail.com> | Thu May 06 15:42:54 2021 -0400 |
tree | 88bf9d1915a453b8642a0bd5ec03954140380a1d | |
parent | 8c9d41556078b3795c8b5356102eade5dc029958 [diff] |
Do not output error diagnostics when there is an infoset - In cases where a element in a sequence's prefix separator is not found use the AbsentRep error instead of MissingSeparator. This causes us to reset to a PoU rather than just continuing - throwing out the error from finding out of scope separators. - Discard error messages caught in the ScalarParser section of parse under cases where we were using setSuccess to mask errors. When masking errors, we also need to mask related diagnostics. - Add assert.invariant to catch any errors in the TDML runner if we also return an infoset. - Modify delimiterParser to not create PE errors when returning AbsentRep. - Add commented out tests related to discriminated unordered sequences that show incorrect behavior that fixing this made more obvious. DAFFODIL-2399
Apache Daffodil is an open-source implementation of the DFDL specification that uses DFDL data descriptions to parse fixed format data into an infoset. This infoset is commonly converted into XML or JSON to enable the use of well-established XML or JSON technologies and libraries to consume, inspect, and manipulate fixed format data in existing solutions. Daffodil is also capable of serializing or “unparsing” data back to the original data format. The DFDL infoset can also be converted directly to/from the data structures carried by data processing frameworks so as to bypass any XML/JSON overheads.
For more information about Daffodil, see https://daffodil.apache.org/.
See BUILD.md for more details.
SBT is the officially supported tool to build Daffodil. Below are some of the more commonly used commands for Daffodil development.
Compile source code:
sbt compile
Run unit tests:
sbt test
Run command line interface tests:
sbt IntegrationTest/test
Build the command line interface (Linux and Windows shell scripts in daffodil-cli/target/universal/stage/bin/
; see the Command Line Interface documentation for details on their usage):
sbt daffodil-cli/stage
Run Apache RAT (license audit report in target/rat.txt
and error if any unapproved licenses are found):
sbt ratCheck
Run sbt-scoverage (report in target/scala-ver/scoverage-report/
):
sbt clean coverage test IntegrationTest/test sbt coverageAggregate
You can ask questions on the dev@daffodil.apache.org or users@daffodil.apache.org mailing lists. You can report bugs via the Daffodil JIRA.
Apache Daffodil is licensed under the Apache License, v2.0.