OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Footnotes triggering "XSLT Error (java.lang.StackOverflowError): null"


I am trying to use docbook-xsl-1.65.1 with Xalan to chunk transform a document with many footnotes, but I keep getting the following error: 

(Location of error unknown)XSLT Error (java.lang.StackOverflowError): null

Through much tedium I have simplified the problem down to a 44K document. In this document I found that if I include all <footnote/> elements (373 total) I get the stack overflow, but if I remove just one of them, from any location in the document, the transform works with no problems.

I have tried using the -Xss and -Xoss JVM options in an attempt to increase stack size, but it does not seem to make any difference. For this reason it seems like there might be an infinite recursion problem in the stylesheets, but I do not know why this would happen with 373 footnotes and not with 372 footnotes.

Also, I have tried turning on verbose stylesheet logging but it is not obvious to me where the problem might be.

Can anyone think of why I might be seeing this problem? I would be glad to email the document to anyone willing to take a look.

Jared Saxton
Knowlysis, LLC


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]