title: Workaround for XMLSchema not supporting maxOccurs larger than 5000
body: <p>My problem is with parsing an XSD Schema that has elements with <code>maxOccurs</code> larger than 5000 (but not <code>unbounded</code>). </p>
  
  <p>This is actually a know issue in either Xerces (which I'm using, version 2.9.1) or JAXP, as described here: <a href="http://bugs.sun.com/view_bug.do;jsessionid=85335466c2c1fc52f0245d20b2e?bug_id=4990915" rel="noreferrer">http://bugs.sun.com/view_bug.do;jsessionid=85335466c2c1fc52f0245d20b2e?bug_id=4990915</a></p>
  
  <p>I already know that if I changed the maxOccurs numbers in my XSD from numbers larger than 5000 to <code>unbounded</code> all works well. Sadly, <strong>this is not an option</strong> in my case (I cannot meddle with the XSD file).</p>
  
  <p>My question is:</p>
  
  <ul>
  <li>Does someone know some other workaround in Xerces for this issue? Or</li>
  <li>Can someone recommend another XML parser that does not have this limitation?</li>
  </ul>
  
  <p>Thanks!</p>