Henry,
That makes sense. I modified the schema and took down the number of
elements under "all" to about 5 and there was no problem. Previously, there
were about 30 elements. Hence, what you're saying seems consistent with
what I saw.
Thanks
Pankaj
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 15, 2001 10:03 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: question about compositor support
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
----------------------------------------------------
This email with all information contained herein or attached hereto may
contain confidential and/or privileged information intended for the
addressee(s) only. If you have received this email in error, please contact
the sender and immediately delete this email in its entirety and any
attachments thereto..
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]