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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.4.0
    • 2.7.0
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: