Josh Adams created DAFFODIL-1885:
------------------------------------
Summary: Initiators are not being inherited from parent choices
Key: DAFFODIL-1885
URL: https://issues.apache.org/jira/browse/DAFFODIL-1885
Project: Daffodil
Issue Type: Bug
Components: Compatibility, Front End
Affects Versions: 2.1.0
Reporter: Josh Adams
Assignee: Josh Adams
This is a bug that is currently effecting the compatibility with the
IBM4690-TLOG schema project.
In the IBM4690-TLOG schemas there is a parent choice with
dfdl:initiatedContent="yes" that contains groups of choices. The child choices
define an initiator, but the initiator does not seem to be getting passed down
the the elements contained within the choice inside the child choice (3rd level
choice), causing the following SDE:
Schema Definition Error: Enclosing group has initiatedContent='yes', but
initiator is not defined.
Here is a simplified schema as an example:
{code:java}
...
<xs:choice dfdl:initiatedContent="yes">
<xs:group ref="childChoice"/>
</xs:choice>
<xs:group name="childChoice">
<xs:choice dfdl:initiator="%#11;:">
<xs:element name="elementWithInheritedInitiator"/>
<xs:choice>
<xs:element name="elementWithoutInheritedInitiator"/>
</xs:choice>
</xs:choice.
</xs:group>
...{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)