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=15186>. 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=15186 ArrayIndexOutOfBoundsException when processing large xml file with a lot of recursion Summary: ArrayIndexOutOfBoundsException when processing large xml file with a lot of recursion Product: XalanJ2 Version: 2.4 Platform: Sun OS/Version: Solaris Status: NEW Severity: Blocker Priority: Other Component: org.apache.xalan AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I am experiencing an ArrayIndexOutOfBoundsException when processing a large input file. The stylesheet converts a <literallayout> tag into an OOo <text:p> tag containing <text:line-break/>'s. Originally I was experiencing an OutOfMemory error. I fixed this by increasing the memory size (-Xmx300m). Then I had a StackOverflowError which I fixed with -Xss7m. Finally, the processor dies with an ArrayIndexOutOfBoundsException. The Stylesheet is heavily recursive, but I am assuming this only effects the StackSize. Using Saxon (And Xml-Spy), there is no need to change any of the JRE's default settings, and I get no errors.
