[
https://issues.apache.org/jira/browse/DAFFODIL-3080?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18082900#comment-18082900
]
Steve Lawrence commented on DAFFODIL-3080:
------------------------------------------
Note that 12.3.6 does reference choiceLengthKind="implicit" in one part here:
{quote}
If the element is in a choice where dfdl:choiceLengthKind is 'implicit' then it
is a Schema Definition Error if:
· the choice has a terminator
· the choice has a non-zero dfdl:trailingSkip
{quote}
But I think we're under the assumption that that is a typo and was intended to
be "choiceLengthKind is 'explicit'" since nothing else in this section
discusses implicit length choice.
> Add choiceLengthKind='endOfParent'
> ----------------------------------
>
> Key: DAFFODIL-3080
> URL: https://issues.apache.org/jira/browse/DAFFODIL-3080
> Project: Daffodil
> Issue Type: New Feature
> Components: Back End, DFDL Language
> Affects Versions: 4.2.0
> Reporter: Olabusayo Kilo
> Priority: Major
>
> The DFDL spec (12.3.6) explicitly mentions that an EndOfParent element
> can be terminated by a choice with choiceLengthKind='explicit', with no
> reference
> to implicit length choices. Later on in 12.3.6, it specified what the parent
> Effective
> Length Units would be for an explicit length choice, again with no reference
> to
> implicit length choices. The only way to get an EndOfParent element within an
> implicit length choice would be to have it actually be terminated by the
> choice's
> parent, similar to how we treat elements within an element that is also
> EndOfParent.
> Alternatively we can also add a choiceLengthKind="EndOfParent" that looks to
> the parent's parent for the effective length unit of the parent.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)