Apache Daffodil (Incubating)
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
daffodil-lib/src Add default value for binaryCalendarEpoch Oct 16, 2018
daffodil-propgen Fix eclipse paths. Aug 13, 2018
daffodil-runtime1/src Only output milliseconds in infoset when necessary Oct 18, 2018
daffodil-test-ibm1/src Only output milliseconds in infoset when necessary Oct 18, 2018
project Update sbt and sbt-native-packager plugin to make jar hashes consistent Aug 14, 2018
scripts Use --binary flag when generating release checksums Oct 15, 2018
test-stdLayout/src Substantial refactoring to support sequence separators properly. Aug 13, 2018
tutorials/src Only output milliseconds in infoset when necessary Oct 18, 2018
.ensime Eliminated problem where searches in Eclipse find everything twice Nov 12, 2014
.gitignore Enable the sbt-rat plugin to perform Apache Rat checks Jul 9, 2018
KEYS Added signing key. Aug 16, 2018
README.md Support more versions of Java Sep 20, 2018
build.sbt Support more versions of Java Sep 20, 2018


Apache Daffodil (incubating)


Apache Daffodil (incubating) is the open source implementation of the Data Format Description Language (DFDL), a specification created by the Open Grid Forum. DFDL is capable of describing many data formats, including textual and binary, commercial record-oriented, scientific and numeric, modern and legacy, and many industry standards. It leverages XML technology and concepts, using a subset of W3C XML schema type system and annotations to describe such data. Daffodil uses this description to parse data into an infoset represented as XML or JSON, easily capable of ingestion, validation, and transformation.

For more information about Daffodil, see https://daffodil.apache.org/.

Build Requirements

  • JDK 7 or higher
  • SBT 0.13.8 or higher

Getting Started

SBT is the officially supported tool to build Daffodil, run all tests, create packages, and more. Below are some of the more common commands used for Daffodil development.

Note that compiling and running all Daffodil tests works best with at least 6GB of memory, more than is usually provided by default. We recommended that you supply -mem 6144 either as an sbt option (e.g. sbt -mem 6144 test) or edit /etc/sbt/sbtopts to increase the available memory when running the below commands.


$ sbt compile


The following command runs all unit tests.

$ sbt test 

The following command runs all command line interface tests.

$ sbt it:test

Command Line Interface

The following command creates Linux and Windows shell scripts in daffodil-cli/target/universal/stage/bin/. See the Command Line Interface documentation for details on its usage.

$ sbt daffodil-cli/stage

Apache RAT

This following command generates an Apache RAT report in target/rat.txt and errors if any unapproved licenses are found.

$ sbt ratCheck

Getting Help

For questions, we can be reached at the dev@daffodil.apache.org or user@daffodil.apache.org mailing lists or in #Daffodil on ASF HipChat. Bugs can be reported via the Daffodil JIRA.


Daffodil is licensed under the Apache License, v2.0