As part of adding enum support to Daffodil (see proposal here<https://cwiki.apache.org/confluence/display/DAFFODIL/Proposal%3A+Feature+to+support+enumerations+and+typeValueCalc>), I am adding attributes to xs:choice (in particular, choiceBranckKeyKind and choiceDispathKeyKind).
The issue that I am running into is, given the design of DFDL, these attributes must have a value. Normally, this is solved by having schema define default values for this type of attribute once in a format annotation and then only explicitly define them again when that default is incorrect. However, this approach does not work for DFDL extensions, as it would break pre-existing schemas that do not define values for these attributes. Is there a mechanism to provide built-in defaults? Regards, Brandon T. Sloane Associate, Services bslo...@tresys.com | tresys.com