I get a StackOverflowError when trying to run the test at:
http://download.oddlabs.com/elias/classpathxml.tar.gz
The test is a larger program pruned as much as possible while still
demonstrating the stack overflow.
Steps to reproduce:
1. Use Classpath CVS HEAD
2. Use either JamVM 1.4.3 or the Jikes RVM from SVN
3. Run the run.sh script from the test.
I've noticed that turning off validation (the line containing
factory.setValidating(true)) the test will run successfully. It seems that the
validator stack depth is dependent on the number of child nodes (the <b/> nodes
in this case), which is unfortunate.
--
Summary: StackOverflowError when parsing large XML file with
validation turned on
Product: classpath
Version: 0.93
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: xml
AssignedTo: dog at gnu dot org
ReportedBy: elias at oddlabs dot com
GCC build triplet: i686-suse-linux
GCC host triplet: i686-suse-linux
GCC target triplet: i686-suse-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29047
_______________________________________________
Bug-classpath mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-classpath