
|
If you were logged in you would be able to see more operations.
|
|
|
|
Environment:
|
Operating System: Linux
Platform: PC
Operating System: Linux
Platform: PC
|
|
| Bugzilla Id: |
22139
|
| Resolution Date: |
23/Feb/07 06:24 PM
|
|
When validating an instance of an XML order against its schema, the process took
5 minutes 7 seconds and required an increased maximum heap size to run to
completion.
The problem was traced to a maxOccurs value of 9999 on an element (the
OrderLine). Changing this to unbounded reduced the time taked to 1.16 seconds
and required no increase in the default heap size.
|
|
Description
|
When validating an instance of an XML order against its schema, the process took
5 minutes 7 seconds and required an increased maximum heap size to run to
completion.
The problem was traced to a maxOccurs value of 9999 on an element (the
OrderLine). Changing this to unbounded reduced the time taked to 1.16 seconds
and required no increase in the default heap size. |
Show » |
|
* has minOccurs/maxOccurs == 1; or
* contains only one element/wildcard particle with minOccurs/maxOccurs == 1
Handling sequences, choices and nested minOccurs/maxOccurs is somewhat tricker. We would need a more general solution than the one implemented for elements and wildcards to process those gracefully. I've opened a new JIRA issue [1] for tracking that.
[1] http://issues.apache.org/jira/browse/XERCESJ-1227