You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by bu...@apache.org on 2003/08/05 17:06:14 UTC

DO NOT REPLY [Bug 22139] New: - Poor performance when processing schemas with high values of maxOccurs

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22139>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22139

Poor performance when processing schemas with high values of maxOccurs

           Summary: Poor performance when processing schemas with high
                    values of maxOccurs
           Product: Xerces2-J
           Version: 2.5.0
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Major
          Priority: Other
         Component: XML Schema Structures
        AssignedTo: xerces-j-dev@xml.apache.org
        ReportedBy: sjb@ambrielconsulting.com


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.

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org