Michael Beckerle commented on DAFFODIL-1897:

So these DFDL schemas, the FOUO ones and any others, should not have org/apache 
directory structure. Nor should they have had edu/illinois/ncsa directory 

The right thing is src/main/resources/com/tresys/army_drrs

I.e., com/tresys  since we authored the schema. If mitre authored it, (e.g., 
jpeg), then the directories should be com/mitre (or is it org/mitre?)

> 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
>            Priority: Blocker
> 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