You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by bu...@apache.org on 2002/05/02 22:47:02 UTC

DO NOT REPLY [Bug 8212] - StackOverflowError while parsing large file.

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8212>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8212

StackOverflowError while parsing large file.





------- Additional Comments From gmeagher@arcessa.com  2002-05-02 20:47 -------
I'm not using validation and the jdk is 1.3.

As far as sample code: I can reproduce this problem with a very large xml file
and a character() callback of simpley a return. For Example: 

If the XML file contained the following:
 <DOCUMENT
vendor="BlueScooter,Inc." version="1.0" operation="ADD">
<URL docpoolid="DC1-1" mimetype="text/html"
url="http%3A%2F%2Ftest.file.bug134.com%2F/test.html" date="1003867000"
size="7881" language="eng"/>
<ABSTRACT>NO_ABSTRACT</ABSTRACT>
<CONTENT>
....200 M of content.
</CONTENT>

and the character(char[] buffer, offset, count) {}  callback contained simply a
return .The stack will overflow almost immediately.

Thanks for responding to this bug. If there is more you need please let me know.

Greg Meagher

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org