[ 
https://issues.apache.org/jira/browse/DAFFODIL-1912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16383997#comment-16383997
 ] 

Michael Beckerle commented on DAFFODIL-1912:
--------------------------------------------

This is due to bug https://jira.di2e.net/browse/DFDL-15 in the GMTIF schema.

Daffodil was tolerating this in the past, but no longer does.

all these gmtif: type names are defined in gmtif.dfdl.xsd (aka the master 
schema for gmtif). The master has xs:include for all the child schemas, but the 
child schemas don't include the master, and so do not have access to its 
namespace definitions when being validated.



> Daffodil commit 6ad629d19b9c53db117155ed4f99ec565a07e274 causes the gmtif 
> schema fail to compile.
> -------------------------------------------------------------------------------------------------
>
>                 Key: DAFFODIL-1912
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-1912
>             Project: Daffodil
>          Issue Type: Bug
>          Components: General
>    Affects Versions: 2.2.0
>            Reporter: Dave Thompson
>            Assignee: Michael Beckerle
>            Priority: Major
>
> {color:#000000}Pulled the latest updates to incubatlr-daffodil repository. 
> The gmtif schema failed to compile during the nightly test run.{color}
> {color:#000000}{color:#000000}Rolled back to commit 
> 075084f5a825bde3168b8e89a02c7e58404cc325 before the gmtif schema/parser 
> successfully compiled.{color}{color}
> {color:#000000}{color:#000000}Daffodil commit 
> 6ad629d19b9c53db117155ed4f99ec565a07e274 causes the gmtif schema to fail to 
> compile.{color}{color}
> {color:#000000}{color:#000000}Numerous schema validation errors are returned. 
> A subset shown below. {color}{color}
>  
> {color:#000000}*Error messages are below:* {color}
> {color:#000000}Attempting to save parser for gmtif.{color}
> {color:#000000}Test name is: gmtif_1t_76b_20000{color}
> {color:#000000}CMD: 
> /home/dfdl/incubator-daffodil/daffodil-cli/target/universal/stage/bin/daffodil
>  -v save-parser -s 
> /home/dfdl/dfdl-dataformats/data-formats/gmtif/src/main/resources/com/tresys/gmtif/xsd/gmtif.dfdl.xsd
>  > /home/dfdl/dfdl-testharness/saved_parsers/0.0.0/gmtif.parser.bin{color}
> {color:#000000}process return code: 1{color}
> {color:#000000}Failed to Save Parser - gmtif{color}
> {color:#000000} {color}
> {color:#000000}Error: [error] Schema Definition Error: Error loading schema 
> due to org.xml.sax.SAXParseException; systemId: 
> file:/home/dfdl/dfdl-dataformats/data-formats/gmtif/src/main/resources/com/tresys/gmtif/xsd/gmtif_dwell_segment.dfdl.xsd;
>  lineNumber: 220; columnNumber: 56; src-resolve: Cannot resolve the name 
> 'gmtif:I16' to a(n) 'type definition' component.{color}
> {color:#000000}Schema context: 
> file:/home/dfdl/dfdl-dataformats/data-formats/gmtif/src/main/resources/com/tresys/gmtif/xsd/gmtif_dwell_segment.dfdl.xsd
>  Location in file:??{color}
> {color:#000000}[error] Schema Definition Error: Error loading schema due to 
> org.xml.sax.SAXParseException; systemId: 
> file:/home/dfdl/dfdl-dataformats/data-formats/gmtif/src/main/resources/com/tresys/gmtif/xsd/gmtif_dwell_segment.dfdl.xsd;
>  lineNumber: 230; columnNumber: 54; src-resolve: Cannot resolve the name 
> 'gmtif:I16' to a(n) 'type definition' component.{color}
> {color:#000000}Schema context: 
> file:/home/dfdl/dfdl-dataformats/data-formats/gmtif/src/main/resources/com/tresys/gmtif/xsd/gmtif_dwell_segment.dfdl.xsd
>  Location in file:??{color}
> {color:#000000}[error] Schema Definition Error: Error loading schema due to 
> org.xml.sax.SAXParseException; systemId: 
> file:/home/dfdl/dfdl-dataformats/data-formats/gmtif/src/main/resources/com/tresys/gmtif/xsd/gmtif_dwell_segment.dfdl.xsd;
>  lineNumber: 259; columnNumber: 61; src-resolve: Cannot resolve the name 
> 'gmtif:I16' to a(n) 'type definition' component.{color}
> {color:#000000}Schema context: 
> file:/home/dfdl/dfdl-dataformats/data-formats/gmtif/src/main/resources/com/tresys/gmtif/xsd/gmtif_dwell_segment.dfdl.xsd
>  Location in file:??{color}
> {color:#000000}.{color}
> {color:#000000}.{color}
> {color:#000000}.{color}
> {color:#000000}.{color}



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

Reply via email to