I think i've found a bug in xerces 2.8.1.
I've attached a tarball that reproduces the error.
The error is "OutOfMemoryError: Java heap space"

the situation is an XML file points to a XSD which contains several
"included" XSDs.
one of those XSD's has a mismatched targetNamespace.

While stepping thru the code in a debugger, it does find the problem
and record the correct SAXParseException, but it continues to traverse
the tree of included XSDs, thus causing the heap space out of memory
situation.

hopefully it's something that i'm doing wrong, though.   any thoughts helpful.

To run the attached tarball, simply expand it, load up the "lib" directory w/
-xercesImpl 2.8.1
-xml-apis 2.8.1
-resolver - the version that ships w/ xerces 2.8.1

then run the "run.sh" shell script.

thanks

Attachment: out-of-memory-20061027.tar.gz
Description: GNU Zip compressed data

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to