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

ipfix data format parse and unparse tests for "Schema Definition Error"

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: 2.0.0
    • Fix Version/s: None
    • Component/s: General, Unparsing
    • Labels:
      None

      Description

      Attempted to parse and unparse ipfix format files. The sample ipfix format files provide in the repository failed to parse due to "Schema Definition Error". Additionally the ipfix infoset files provided in the repository also fail due to an "Schema Definition Error".

      Below are the commands used and the associated error message.

      ipfix/data-record.dfdl.xsd:

      ]$ daffodil/daffodil-cli/target/universal/stage/bin/daffodil parse -I xml -s /home/dthompson/dfdl-dataformats/data-formats/ipfix/data-record.dfdl.xsd /home/dthompson/dfdlTestData/data-formats/ipfix/parse_data/data-record.binary

      [error] Schema Definition Error: Property textOutputMinLength is not defined.
      Non-default properties were combined from these locations:
      Location line 30 in file:/home/dthompson/dfdl-dataformats/data-formats/ipfix/data-record.dfdl.xsd
      Location line 154 in file:/home/dthompson/dfdl-dataformats/data-formats/ipfix/data-record.dfdl.xsd

      Default properties were taken from these locations:
      Location line 6 column 14 in file:/home/dthompson/dfdl-dataformats/data-formats/ipfix/data-record.dfdl.xsd

      Schema context: Version-number Location line 30 column 14 in file:/home/dthompson/dfdl-dataformats/data-formats/ipfix/data-record.dfdl.xsd

       

      ]$ daffodil/daffodil-cli/target/universal/stage/bin/daffodil unparse -I xml -s /home/dthompson/dfdl-dataformats/data-formats/ipfix/data-record.dfdl.xsd /home/dthompson/dfdlTestData/data-formats/ipfix/unparse_data/data-record.xml

      [error] Schema Definition Error: Property textOutputMinLength is not defined.
      Non-default properties were combined from these locations:
      Location line 30 in file:/home/dthompson/dfdl-dataformats/data-formats/ipfix/data-record.dfdl.xsd
      Location line 154 in file:/home/dthompson/dfdl-dataformats/data-formats/ipfix/data-record.dfdl.xsd

      Default properties were taken from these locations:
      Location line 6 column 14 in file:/home/dthompson/dfdl-dataformats/data-formats/ipfix/data-record.dfdl.xsd

      Schema context: Version-number Location line 30 column 14 in file:/home/dthompson/dfdl-dataformats/data-formats/ipfix/data-record.dfdl.xsd

      ipfix/template-record.dfdl.xsd:

      ]$ daffodil/daffodil-cli/target/universal/stage/bin/daffodil parse -I xml -s /home/dthompson/dfdl-dataformats/data-formats/ipfix/template-record.dfdl.xsd /home/dthompson/dfdlTestData/data-formats/ipfix/parse_data/template-record.binary

      [error] Schema Definition Error: Property textOutputMinLength is not defined.
      Non-default properties were combined from these locations:
      Location line 23 in file:/home/dthompson/dfdl-dataformats/data-formats/ipfix/template-record.dfdl.xsd
      Location line 118 in file:/home/dthompson/dfdl-dataformats/data-formats/ipfix/template-record.dfdl.xsd

      Default properties were taken from these locations:
      Location line 6 column 14 in file:/home/dthompson/dfdl-dataformats/data-formats/ipfix/template-record.dfdl.xsd

      Schema context: Version-number Location line 23 column 14 in file:/home/dthompson/dfdl-dataformats/data-formats/ipfix/template-record.dfdl.xsd

       

      ]$ daffodil/daffodil-cli/target/universal/stage/bin/daffodil unparse -I xml -s /home/dthompson/dfdl-dataformats/data-formats/ipfix/template-record.dfdl.xsd /home/dthompson/dfdlTestData/data-formats/ipfix/unparse_data/template-record.xml

      [error] Schema Definition Error: Property textOutputMinLength is not defined.
      Non-default properties were combined from these locations:
      Location line 23 in file:/home/dthompson/dfdl-dataformats/data-formats/ipfix/template-record.dfdl.xsd
      Location line 118 in file:/home/dthompson/dfdl-dataformats/data-formats/ipfix/template-record.dfdl.xsd

      Default properties were taken from these locations:
      Location line 6 column 14 in file:/home/dthompson/dfdl-dataformats/data-formats/ipfix/template-record.dfdl.xsd

      Schema context: Version-number Location line 23 column 14 in file:/home/dthompson/dfdl-dataformats/data-formats/ipfix/template-record.dfdl.xsd

       

        Gliffy Diagrams

          Attachments

            Activity

              People

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

                Dates

                Created:
                Updated:

                  Tasks