Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DFDL-1795

w3cdom infoset xml files fail unparsing for "[error] Unparse Error:"

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocking
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.0
    • Component/s: None
    • Labels:
      None

      Description

      Created w3cdom infoset files (2)  for w3cdom unparsing performance tests.

      Executed the asterix tests specifying the -I w3cdom option. The parse test completed successfully while the unparsed tests failed.

      Run the unparsed test separately using the daffodil-cli with the following command:

      daffodil/daffodil-cli/target/universal/stage/bin/daffodil unparse -I w3cdom -s /home/dfdl/dfdl-dataformats/data-formats/asterix/src/main/resources/com.raytheon.asterix/xsd/asterix.cat48.dfdl.xsd /home/dfdl/dfdl-dataformats/data-formats/asterix/src/test/resources/com.raytheon.asterix/astrx_0000002_x2.dat-w3c.xml

      Each w3cdom infoset files created for the following error:

      [error] Unparse Error: Found child element {http://fcds/Cat48_Packet}cat, but expected {}cat.
      Schema context: asterix_message Location line 18 column 4 in file:/home/dfdl/dfdl-dataformats/data-formats/asterix/src/main/resources/com.raytheon.asterix/xsd/asterix.cat48.dfdl.xsd

       

        Gliffy Diagrams

          Attachments

            Activity

              People

              Assignee:
              dthompson David Thompson
              Reporter:
              dthompson David Thompson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Tasks