Hi Pankaj,


     There was a bug in the processing of "all" that caused Xerces-J to use on the order of 2^n bytes of storage, where n is the number of children in the "all".  Because of this bug, the JVM tended to run out of memory when an "all" had twenty or so children.  Does your "all" fit that description?

     This bug has been fixed in the latest source in CVS.  I hope that helps.

Thanks,

Henry
------------------------------------------------------------------------
Henry Zongaro      XML Parsers development
IBM SWS Toronto Lab   Tie Line 778-6044;  Phone (416) 448-6044
mailto:[EMAIL PROTECTED]

Please respond to [EMAIL PROTECTED]

To:        Xerces J Mailing List <[EMAIL PROTECTED]>
cc:        
Subject:        question about compositor support


Please forgive my ignorance but I'm veyr new to Schemas and Xerces.
Currently, is there support for the "all" compositor in xerces-j 1.42?  I
have been trying to validate an XML Schema instance document and I keep
receiving the following error when running sax.SAX2Count, sax.SAXCount, and
dom.DOMCount:

Exception in thread "main" java.lang.OutOfMemoryError
<<no stack trace available>>

If I change the "all" compositor to "sequence", then the examples run
without any problem.  
Thanks
Pankaj

-----
Pankaj Jain
GlobeOp Financial Services
1 South Rd.
Harrison, N.Y. 10528

Tel:  +1.914.670.3621
Fax: +1.914.670.3601
Email: [EMAIL PROTECTED]
http://www.globeop.com

Reply via email to