[
https://issues.apache.org/jira/browse/DAFFODIL-1849?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Steve Lawrence resolved DAFFODIL-1849.
--------------------------------------
Resolution: Won't Fix
This was caused by a bug in the schema. The schema references using the
predicate [0]. However, arrays in XPath are 1-based, so this will always fail.
DAFFODIL-1865 is related in that we should be able to detect this at schema
compilation time and throw an SDE saying this will never succeed.
Changing the index value to a zero allows the schema to unparse, but it looks
like something is wrong with the schema and so the files do not round trip.
Does not appear to be a Daffodil bug or invalid data.
> The infoset files for the larger gmtif sample files (kirkuk_7d.4607 and
> kirkuk_20081212.4607) fail unparsing
> ------------------------------------------------------------------------------------------------------------
>
> Key: DAFFODIL-1849
> URL: https://issues.apache.org/jira/browse/DAFFODIL-1849
> Project: Daffodil
> Issue Type: Bug
> Components: Unparsing
> Affects Versions: 2.0.0
> Reporter: Dave Thompson
> Priority: Major
> Fix For: 2.3.0
>
>
> The infoset test��files for the larger gmtif sample test��files
> (kirkuk_7d.4607 and kirkuk_20081212.4607) fail unparsing due to the following
> error. Both file parse without successfully without error.
> Resulting Error Message:
> [error] Unparse Error: Value 0 is out of range for the
> '\{urn:nato:stanag:4607}TargetReport' array with length 1
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)