Robert Bathmann created DAFFODIL-2962:
-----------------------------------------

             Summary: Expression Evaluation Error: Element does not have a 
value.
                 Key: DAFFODIL-2962
                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2962
             Project: Daffodil
          Issue Type: Bug
          Components: Back End
    Affects Versions: 3.9.0
            Reporter: Robert Bathmann
         Attachments: noValueTest.tdml

Consider the DFDL schema in the attached TDML file. It describes an array of 
line-delimited elements containing a nillable complex element within a direct 
dispatch choice. A simple pattern discriminator is placed on the line element.

This schema works properly for six occurrences of the line element. However, 
adding a seventh line results in the error: 
{code:java}
Schema Definition Error: Failed to start infoset complex element: Expression 
Evaluation Error: Element does not have a value.{code}
Removing the discriminator, the dispatch key and branch key, or changing the 
innermost complex element to nillable="false" allows the larger document to be 
parsed.

If additional structures are added within the nillable complex element, this 
error can be reproduced with a smaller number of line elements. This is not 
illustrated within the TDML for simplicity.



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

Reply via email to