Uploaded image for project: 'Xerces2-J'
  1. Xerces2-J
  2. XERCESJ-773

Poor performance when processing schemas with high values of maxOccurs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 2.5.0
    • 2.9.1
    • None
    • Operating System: Linux
      Platform: PC
    • 22139

    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.

      Attachments

        Activity

          People

            mrglavas@ca.ibm.com Michael Glavassevich
            sjb@ambrielconsulting.com Steve Baker
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: