Wanted to make sure I am understanding the spec for choiceLengthKind correctly:
- 'explicit' means that the branches of the choice are always filled to the fixed length specified by dfdl:choiceLength, so the ChoiceContent region is fixed length regardless of which branch appears. And under choiceLength: - Specifies the length of the choice in bytes, so the ChoiceContent region is fixed length regardless of which branch appears. A ChoiceUnused region is therefore possible which when unparsing is filled with dfdl:fillByte. So, essentially this is saying that a choice with choiceLengthKind='explicit' has no branches that will exceed the length specified in choiceLength, correct? And, that on unparse, any branch that is less than choiceLength will simply be padded by dfdl:fillByte. Assuming that is correct, it shouldn't take much work to get this working in Daffodil. That being said, is there any sample data around? I searched through the daffodil repo as well as some of the schema projects and did not find any. Josh
