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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to