Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Currently, if you have an expression for occursCount, and that expression results in a value greater than maxOccursBounds (which defaults to 1024), then we currently throw a PE/UE. When parsing, this can result in backtracking for a non-obvious reason. The fact that maxOccursBounds was exceeded may not even be reported.
Instead, it seems like this should instead be a SDE so that the error is reported immediately and the user can either modify a tunable to increase the maxOccursBOunds, or rework the schema to not need such a large array.