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

infinite loops when using dfdl:property extra-long form for property values

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.0
    • 2.3.0
    • None
    • None

    Description

      I have a schema where the delimiters and lengthPatterns have quasi-XML syntax in them; hence, I am using the extra-long-form annotations e.g.,
      {{

      { <xs:annotation><xs:appinfo source="http://www.ogf.org/dfdl"> <dfdl:element> <dfdl:property name="initiator"><![CDATA[<rdf:RDF%SP;]]></dfdl:property> </dfdl:element> </xs:appinfo></xs:annotation> }

      }}

      I am finding that compiling the schema seems to go into an infinite loop.

      Even an egregious error like forgetting that <dfdl:property...> must appear inside a <dfdl:element> results in infinite loop, not a diagnostic message.

      So there are bugs here to chase down. We need a "torture test" for this dfdl:property style. It's for exactly the use case I have here... where the property values are "unfriendly" to XSD syntax.

      Attachments

        Activity

          People

            dfthompson Dave Thompson
            mbeckerle Mike Beckerle
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: