mbeckerle commented on a change in pull request #276: Updated Unordered 
Sequence code to better support vCard
URL: https://github.com/apache/incubator-daffodil/pull/276#discussion_r334553951
 
 

 ##########
 File path: 
daffodil-runtime1/src/main/scala/org/apache/daffodil/processors/parsers/SequenceParserBases.scala
 ##########
 @@ -304,17 +310,21 @@ abstract class SequenceParserBase(
         }
         case _: FailedParseAttemptStatus => { // MissingSeparator with failure 
will match here
           Assert.invariant(pstate.isFailure)
-          if (hasPoU && !wasDescriminatorSet &&
+          if (hasPoU && !wasDiscriminatorSet &&
             (roStatus.isInstanceOf[RequiredOptionalStatus.Optional])) {
             // we back up and finish the array at the prior element if any.
+            val cause = pstate.processorStatus.asInstanceOf[Failure].cause
 
 Review comment:
   Unused.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to