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

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

XMLWordPrintableJSON

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocking Blocking
    • 2.0.0
    • 2.0.0
    • None
    • None

      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

       

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

                Created:
                Updated:
                Resolved: