You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@daffodil.apache.org by "Michael Beckerle (JIRA)" <ji...@apache.org> on 2019/05/29 23:37:00 UTC

[jira] [Resolved] (DAFFODIL-1853) ipfix data format parse and unparse tests for "Schema Definition Error"

     [ https://issues.apache.org/jira/browse/DAFFODIL-1853?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Beckerle resolved DAFFODIL-1853.
----------------------------------------
    Resolution: Fixed
      Assignee: Dave Thompson  (was: Michael Beckerle)

Added standard project layout and tests.

Tests work and do not give errors now (using 2.4.0-snapshot as of 2019-05-29).

 

> ipfix data format parse and unparse tests for "Schema Definition Error"
> -----------------------------------------------------------------------
>
>                 Key: DAFFODIL-1853
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-1853
>             Project: Daffodil
>          Issue Type: Bug
>          Components: General, Unparsing
>    Affects Versions: 2.0.0
>            Reporter: Dave Thompson
>            Assignee: Dave Thompson
>            Priority: Major
>             Fix For: 2.4.0
>
>
> 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
> ��



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)