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/.
- Java 8 or higher
- sbt 0.13.8 or higher
- C compiler C99 or higher
- Mini-XML Version 3.0 or higher
sbt is the officially supported tool to build Daffodil. Below are some of the more commonly used commands for Daffodil development.
Compile source code:
Check all unit tests pass:
Check all integration tests pass:
Check format of source and sbt files:
sbt scalafmtCheckAll scalafmtSbtCheck
Reformat source and sbt files if necessary:
sbt scalafmtAll scalafmtSbt
Build the Daffodil command line interface (Linux and Windows shell
daffodil-cli/target/universal/stage/bin/; see the
Command Line Interface documentation for details on their usage):
Publish the Daffodil jars to a Maven repository (for Java projects) or Ivy repository (for Scala or schema projects).
Maven (for Java or mvn):
Ivy (for Scala or sbt):
Run Apache RAT (license audit report in
target/rat.txt and error
if any unapproved licenses are found):
Run sbt-scoverage (report in
sbt clean coverage test daffodil-test-integration/test
Apache Daffodil is licensed under the Apache License, v2.0.