Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DAFFODIL-1885

Initiators are not being inherited from parent choices

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.0
    • Fix Version/s: 2.1.0
    • Component/s: Compatibility, Front End
    • Labels:
      None

      Description

      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:

      ...
      <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>
      ...

       

        Attachments

          Activity

            People

            • Assignee:
              dfthompson Dave Thompson
              Reporter:
              jadams_tresys Josh Adams
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: