Michael Beckerle created DAFFODIL-2022:
------------------------------------------

             Summary: infinite loops when using dfdl:property extra-long form 
for property values
                 Key: DAFFODIL-2022
                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2022
             Project: Daffodil
          Issue Type: Bug
    Affects Versions: 2.2.0
            Reporter: Michael Beckerle


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. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to