mbeckerle commented on a change in pull request #517:
URL: https://github.com/apache/daffodil/pull/517#discussion_r601726676



##########
File path: 
daffodil-test/src/test/resources/org/apache/daffodil/section14/sequence_groups/SequenceGroupNestedArray.tdml
##########
@@ -219,6 +219,7 @@ notice blank lines are skipped
           <ex:record>
             <ex:item>notice lines of all commas are skipped</ex:item>
           </ex:record>
+          <ex:record />

Review comment:
       IBM DFDL differs from Daffodil in this new emptyElementParsePolicy 
property. They only implement the treatAsAbsent semantics. 
   
   I'm thinking the minOccurs of this vector is 1. That means the first element 
is actually required, not optional. IBM DFDL treats this as absent, and causes 
the failure since an absent required element causes an error. 
   
   I think. 
   
   We can try specifying dfdlx:emptyElementParsePolicy='treatAsMissing' (which 
is Daffodil's current realization of this property, and that behavior should 
then be the same.
   
   Or add a minOccurs="0" to the array, then both IBM and Daffodil should 
behave the same. 
   
   That's my theory anyway. 
   




-- 
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]


Reply via email to