This is a tunable limit.

I am not near my computer right now, but you should be able to find guidance 
about setting this tunable by searching. I will check back later this evening 
to see if you are still stuck.




-------- Original message --------
From: "Gedvilas, Brett L2" <[email protected]>
Date: 9/28/18 1:45 PM (GMT-05:00)
To: [email protected]
Subject: MaxOccurs Limit


Hi,


I keep running into a parsing error relating to the maximum number of 
occurrences for an element in my schema. The exact error is shown below:


[error] Parse Error: Evaluation of occursCount expression 
(dafint:OccursCountEv@8df0b3, runtime) returned out of range value 4096.


For context, the schema evaluates an expression to determine the occurrences of 
the element. The length of the element is 16 bits and should repeat based on a 
previously parsed value as shown:


<xs:element name="sample" type="xs:unsignedInt" dfdl:length="16" minOccurs="0" 
maxOccurs="unbounded" dfdl:occursCountKind="expression" dfdl:occursCount="{ 
../num_on_pulse_samples }" />


As far as I can tell daffodil limits the occurrences of an element to 1024, is 
this an implementation-defined maximum or is there any type of work-around for 
this limit?


Thanks!


Brett

Reply via email to