We have an online XSLT process using Nokogiri (libxslt) on Ruby-on-
Rails and have a problem with one of our XSLT docs. It's a very
recursive process turning 'flat' XML into neatly nested XML. The
document runs fine offline in Oxygen under Saxon 6.x, 9.x and XSLTProc
(libxslt), and fine under Saxon 9.x in the online environment.
But once we introduce Nokogiri into the mix, it falls over with:
runtime error: file /Users/<pathtotrunk>/data/xsl/v1/TextSections.xsl
line 324 element param
xsltApplyXSLTTemplate: A potential infinite template recursion was
You can adjust xsltMaxDepth (--maxdepth) in order to raise the maximum
number of nested template calls and variables/params (currently set to
We have tried increasing xsltMaxDepth without success
Has anyone any suggestions on stuff to check/test?