IBM Integration Bus, Version 9.0.0.8 Operating Systems: AIX, HP-Itanium, Linux, Solaris, Windows, z/OS

See information about the latest product version

DFDL language: points of uncertainty

How DFDL parsers resolve choices, optional elements, and variable arrays.

A DFDL parser is a recursive-descent parser that uses lookahead to resolve points of uncertainty: The parser must speculatively try to parse data until an object is either 'known to exist' or 'known not to exist'. Until the condition has been established, a processing error causes the parser to suppress the error, backtrack, and try an alternative. To prevent incorrect backtracking, use the dfdl:discriminator annotation to assert that an object is 'known to exist'. Initiators are also able to assert that an object is 'known to exist'. If all alternatives have an initiator, set property dfdl:initiatedContent to 'yes' on the parent sequence or choice, in preference to using dfdl:discriminator annotations.

df20085_.htm | Last updated Friday, 21 July 2017