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

Steve Lawrence commented on DAFFODIL-2364:
------------------------------------------

My guess is that means we are incrementing the array index when we shouldn't 
be? For example, in SequenceParserBases.scala, we have this code to increment 
the array index each time we parse an element of an array:
{code:scala}
if (ais ne Done) {
  pstate.mpstate.moveOverOneArrayIndexOnly()
}
{code}
Seems like maybe that need an extra condition, and it should only call that 
function if we actually added an array element. I think if resultOfTry is 
AbsentRep it essentially means we parsed something but nothing was added to the 
infoset, and thus shouldn't increment the array index?

> infinite loop with separators and suppression (NUL related)
> -----------------------------------------------------------
>
>                 Key: DAFFODIL-2364
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2364
>             Project: Daffodil
>          Issue Type: Bug
>          Components: Back End
>    Affects Versions: 2.7.0
>            Reporter: Mike Beckerle
>            Assignee: Mike McGann
>            Priority: Critical
>             Fix For: 3.5.0
>
>
> test_nulPad1 goes into an infinite loop on 2.7.0.
> Some aspect of no-forward-progress checking isn't working.
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to