This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[docbook-apps] 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

To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]