Michael Beckerle reopened DAFFODIL-1897:
      Assignee: Michael Beckerle  (was: Dave Thompson)


Moving built-in-formats.xsd to daffodil-lib-unittest, and having it only be 
part of our test (ie., non-published artifacts) breaks the CLI.

The CLI runs TDML tests.

TDML tests can have tdml:defineSchema blocks in the TDML file. 

Those embedded schemas have an implicit include of built-in-formats.xsd.

Since users can (and we want them to) write TDML files, that means 
built-in-formats is *not* a test-only artifact. 

We can try changing this to a "real" non test DFDL schema file like 

> Some Schemas fail to compile with latest updates (v2.1.0-rc1)
> -------------------------------------------------------------
>                 Key: DAFFODIL-1897
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-1897
>             Project: Daffodil
>          Issue Type: Bug
>          Components: DFDL Schemas
>    Affects Versions: 2.1.0
>            Reporter: Dave Thompson
>            Assignee: Michael Beckerle
>            Priority: Blocker
>             Fix For: 2.1.0
> Attempted to execute the nightly test suite on incubator-daffodil commit 
> add8c5a6f82f25073475a4d6c7ae94fb5ca6e01a.
> Four dfdl schemas failed to compile for the following formats: army-drrs,  
> ato-rep, csvMixedNarrow and pcap.
> The command and error are provided below.
> Attempting to save parser for army-drrs.
> Test name is: army-drrs_10t_all_1000
> CMD: 
> /home/dfdl/incubator-daffodil/daffodil-cli/target/universal/stage/bin/daffodil
>  -v save-parser -s 
> /home/dfdl/ngf-dfdl/daffodil-perf/src/test/resources/edu/illinois/ncsa/daffodil/fouo_disa/army_drrs_lh/army_drrs_lh.dfdl.xsd
>  > /home/dfdl/dfdl-testharness/saved_parsers/0.0.0/army-drrs.parser.bin
> process return code: 1
> Failed to Save Parser - army-drrs
> Error: [error] Schema Definition Error: No schema document at location 
> file:/home/dfdl/ngf-dfdl/daffodil-perf/src/test/resources/org/apache/daffodil/fouo_disa/army_drrs_lh/army_drrs_lh.dfdl.xsd.
> Schema context: Import Location in file:unknown
> [warning] Schema Definition Warning: schemaLocation property uses deprecated 
> edu/illinois/ncsa/daffodil path instead of org/apache/daffodil. Converting to 
> new path.
> Schema context: Import Location in file:unknown
> [info] Time (compiling): 219ms

This message was sent by Atlassian JIRA

Reply via email to