Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: update section on separatorSuppressionPolicy

...

Unparser

This release contains only a parser. There is no unparser functionality in this release.

DFDL properties specific to unparsing are all unimplemented, and are generally ignored. These are:

  • outputNewLine
  • fillByte
  • textPadKind
  • textOutputMinLength
  • generateEscapeBlock
  • extraEscapedCharacters
  • truncateSpecifiedLengthString
  • outputValueCalc

Types

The following types are unsupported. Their use will cause schema definition errors. Properties specific to them are also unimplemented.

  • decimal
  • integer
  • nonNegativeInteger
  • hexBinary
  • boolean
  • date - unimplemented for dfdl:representation='binary'
  • time - unimplemented for dfdl:representation='binary'
  • dateTime - unimplemented for dfdl:representation='binary'

XML Schema Features

Of the subset of features in XSD that DFDL uses, these are unimplemented, and are ignored by the Daffodil system unless otherwise noted:

  • fixed - property of element declarations
  • default - property of element declarations
  • attributeFormDefault (an attribute of the xs:schema element) - causes schema definition error (behaves as 'unqualified')

DFDL Features

These features of DFDL are broadly absent from the implementation in this release.

DFDL properties associated with these features will be validated, but beyond that may be entirely unrecognized or ignored.

  • Defaulting of values for required elements
  • All 'packed' binary number representation (packed, bcd, etc.)
  • All 'zoned' text number representations.
  • Advanced text number format properties
  • All bi-directional text
  • unordered sequences
  • floating elements in sequences
  • external variables
  • raw-byte entities
  • validation
  • alignment
  • the 'type' component of the DFDL Infoset
  • runtime-computed format properties (i.e., computing the value of dfdl:byteOrder at parse time based on data)
  • IANA standard encodings other than: utf-8, utf-16BE, utf-16LE, utf-32BE, utf-32LE, and ASCII. (Many IANA names will probably work. Only these are tested currently.)
  • expression language - qualified names are needed to reference elements. Unqualified elements do not work.

Daffodil-specific Features

These features are specified as part of the Daffodil API or Command-Line Interpreter, but are unsupported:

  • save/reload of a compiled parser

Properties and Property Enumerations

The following properties or property enumeration values are unsupported.

Their use in a DFDL schema will be validated.

These properties are implemented only for the value(s) specified. Any other value will cause a schema definition error.

  • ignoreCase="no"
  • utf16Width="fixed"
  • textNumberRep="standard"
  • binaryNumberRep="binary"
  • binaryFloatRep="ieee"
  • nilKind="literalValue"
  • lengthKind="delimited",  "pattern", "explicit", "fixed", or "implicit" (that leaves out "prefixed", and "endOfParent")
    • Note that when lengthKind='delimited' representation must be "text".
  • occursCountKind="fixed", "expression", "parsed", or "implicit" ("stopValue" is not supported)

The properties below are validated, but their values are subsequently ignored by Daffodil currently. Illegal or non-sensical values that are valid syntax will not cause a schema definition error (but should!). If they are undefined, Daffodil does not cause a schema definition error (but should!)

  • documentFinalTerminatorCanBeMissing (behaves as "no")
  • textNumberPattern
  • textNumberCheckPolicy
  • textNumberRoundingMode
  • textNumberRounding
  • textNumberRoundingIncrement
  • textStandardGroupingSeparator
  • textStandardDecimalSeparator
  • textStandardExponentCharacter
  • textStandardInfinityRep
  • textStandardNaNRep
  • textStandardZeroRep
  • textStandardBase (behaves as '10')
  • textZonedSignStyle
  • decimalSigned
  • textBooleanTrueRep
  • textBooleanFalseRep
  • textBooleanPadCharacter
  • textBooleanJustification
  • binaryBooleanTrueRep
  • binaryBooleanFalseRep
  • textBidi (behaves as "no")
  • textBidiTextOrdering
  • textBidiOrientation
  • textBidiSymmetric
  • textBidiTextShaped
  • textBidiNumeralShapes
  • alignment (behaves as "1")
  • alignmentUnits
  • leadingSkip (behaves as 0)
  • trailingSkip (behaves as 0)
  • prefixIncludesPrefixLength
  • prefixLengthType
  • binaryDecimalVirtualPoint
  • binaryNumberCheckPolicy
  • binaryPackedSignCodes
  • binaryCalendarRep
  • binaryCalendarEpoch
  • useNilForDefault
  • sequenceKind (behaves as "ordered")
  • floating (behaves as "no")
  • choiceLengthKind (behaves as "implicit")
  • choiceLength
  • occursStopValue

Deprecated Property Names

Both of these properties are supported.

  • separatorSuppressionPolicy (this is the new name, per the Errata)
  • separatorPolicy (name was changed from this in an Errata. This is the old name.)

If a schema uses separatorSuppressionPolicy, it will be respected and there wlll be no examination of separatorPolicy. If a schema does not use separatorSuppressionPolicy, then Daffodil will check for the former obsolete deprecated name separatorPolicy with its distinct enumeration values(which has different valid enumeration values).

Note that scoping cannot be used to override one with the other, the processor will see both, and will prefer the separatorSuppressionPolicy even if there is a definition of separatorPolicy in a closer scope.

Functions

The following functions are unsupported in DFDL expressions:

  • dfdl:contentLength
  • dfdl:valueLength

Annotations

The following DFDL annotations are unsupported:

  • dfdl:newVariableInstance

Some additional limitations:

...