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

Mike Beckerle commented on DAFFODIL-2399:
-----------------------------------------

I think those errors are ones that cause backtracking and should be discarded. 
Seems they are not being discarded is the issue. They are hanging around.

The first one is the end of the field 1 array, the second is the end of the 
field 2 array (which is empty), the third is the end of the field 3 array 
(which is empty).

> Error diagnostics output even though there is an infoset 
> ---------------------------------------------------------
>
>                 Key: DAFFODIL-2399
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2399
>             Project: Daffodil
>          Issue Type: Bug
>            Reporter: Steve Lawrence
>            Priority: Major
>
> The HL7 schema (currently not public) currently parses successfully and 
> outputs an infoset, but also outputs a bunch of Parse Error diagnostics, 
> making it appear as if the parse failed. The TDML runner does not detect 
> these additional diagnostics and so when run via a TDML runner the tests 
> pass. But when run via the CLI it's very clear something is wrong. Testing 
> with older version of Daffodil, this appears to go back to at least 2.4.0, so 
> this is a very old bug. Additionally, when using the new SAX API, the error 
> diagnostic is only output once--need to figure out why SAX errors are 
> different than non-SAX.
> This is potentially multiple separate issues, but I'll keep this as one issue 
> until I can create a minimial test case to reproduce this issue and can 
> figure out what's actually going on.  Creating this ticket for now so we 
> don't forget out this issue.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to