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

initiatedContent="yes" does not cause SDE when initiator="%ES;"

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4.0
    • Fix Version/s: 2.7.0
    • Component/s: None
    • Labels:
      None

      Description

      This schema fragment does not cause an SDE as required by the DFDL spec:

       

      <xs:element name="input">
          <xs:complexType>
               <xs:sequence dfdl:initiatedContent="yes">
                   <xs:element name="A" type="xs:string" dfdl:initiator="%ES;" />
               </xs:sequence>
           </xs:complexType>
       </xs:element>

      Note that the DFDL spec says that when initiatedContent is yes, the initiator may not be empty string, but this is ambiguous. Clearly dfdl:initiator="" is not allowed, but a check for dfdl:initiator="%ES;" should also be rejected.

       

      Actually, dfdl:initiator="%WSP*;" should also be rejected in this case.

       

      dfdl:initiator="%ES;" should uniformly, always be rejected, because it is meaningless in all cases.

        Attachments

          Activity

            People

            • Assignee:
              interran John Interrante
              Reporter:
              mbeckerle Mike Beckerle
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: