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

stringAsXML: TDML XML Comparison fails on mixed content XML or other non-DFDL-conforming XML

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Infrastructure, QA, TDML Runner
    • None

    Description

      The stringAsXML feature allows embedding arbitrary XML content into the XML output from a Daffodil parse. 

      When the TDML runner compares output to expected output, this fails because the output is not from a DFDL parse, but is an embedded string of XML.

      That embedded string can use many things that DFDL doesn't normally create such as XML mixed content, XML attributes, etc. 

      The XML diff comparison fails on this. 

      Hence, TDML tests cannot be created when stringAsXML is used, unless you are lucky and the embedded XML string just happens to not use XML attributes, mixed content, or anything else that isn't part of the DFDL subset of XSD. 

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            mbeckerle Mike Beckerle
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: