Apache Daffodil DFDL Schema Template

Clone this repo:

Branches

  1. bf6755f Update to use Daffodil SBT plugin by Steve Lawrence · 14 days ago main
  2. 55d4b32 Moved namespace bindings so default namespace is first. by Michael Beckerle · 2 years ago
  3. cd97ccb Updates to improve style of schemas and tdml using default namespaces by Michael Beckerle · 2 years ago
  4. d888377 Update github actions to match Daffodil actions by Steve Lawrence · 2 years, 4 months ago
  5. 2eb3543 Add property for specifying test file extensions by Steve Lawrence · 2 years, 4 months ago

Apache Daffodil DFDL Schema Template

This repository is a Giter8 template for Apache Daffodil DFDL schemas.

Usage

Install SBT and run the following command:

sbt new apache/daffodil-schema.g8

This command prompts for various properties and creates a bare-bones directory structure that follows the recommended DFDL Schema Project Layout. This includes git and sbt configuration files, a basic DFDL schema file, and TDML and test files.

Properties

The following properties are used to configure the generated DFDL schema project:

Testing

This repository uses the SBT Giter8 plugin to perform a single basic sanity check of template generation. To execute this check, run:

sbt test

This command generates a new project using the default.properties template values and then runs the SBT Scripted commands defined in src/test/g8/test to validate correct generation.

License

Apache Daffodil DFDL Schema Template is licensed under the Apache License, v2.0.