Package

org.apache.daffodil

api

Permalink

package api

Visibility
  1. Public
  2. All

Value Members

  1. object DFDL

    Permalink

    APIs for DFDL Parsing and Unparsing

    APIs for DFDL Parsing and Unparsing

    Assumed that applications will provide information not all at once, but will provide first:

    • Schema (which can be multiple schema files by way of include/import)
    • XML Catalog, or other means by which include/import are found.
    • Control settings/features for how they want the parser to behave.
    • Error handlers.
    • Root node and namespace
    • Externally defined variables

    After that, the application will want to use one of two primary patterns:

    • Random access: one input source, evaluate many different paths
    • Bulk Parsing: one path, many different input sources

    The output direction is symmetric.

    So the API provides a way to set the path specially, providing for schema-aware compilation of the XPath expression in the bulk processing case.

Ungrouped