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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.4.0
    • General, Unparsing
    • 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

      ��

      Attachments

        Activity

          People

            dfthompson Dave Thompson
            dfthompson Dave Thompson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: