DocBook to DITA transformation error on encountering links with multiple underscores
Posted: Fri Jun 17, 2016 5:21 pm
Hello,
When running the DocBook to DITA transformation scenario in Oxygen XML Editor 18, I've encountered the following error: "Too many nested apply-templates calls. The stylesheet may be looping." The full error:
I managed to track the problem down to links using underscores within the ID, for example:
Does anyone know of a (relatively) easy way to fix this, possibly in the XSLT in the dbdita plugin?
Many thanks,
Helena
When running the DocBook to DITA transformation scenario in Oxygen XML Editor 18, I've encountered the following error: "Too many nested apply-templates calls. The stylesheet may be looping." The full error:
Code: Select all
System ID: C:\Program Files (x86)\Oxygen XML Editor 18\frameworks\dita\DITA-OT\plugins\dbdita\db2dita\dbReader.xsl
Scenario: DocBook to DITA
XML file: C:\My\path\help.xml
XSL file: C:\Program Files (x86)\Oxygen XML Editor 18\frameworks\dita\DITA-OT\plugins\dbdita\db2dita\docbook2dita.xsl
Document type: DocBook 5
Engine name: Saxon-EE 9.6.0.7
Severity: fatal
Description: SXLM0001: Too many nested apply-templates calls. The stylesheet may be looping.
Start location: 2925:0
URL: http://www.saxonica.com/html/documentation/javadoc/net/sf/saxon/trans/SaxonErrorCode.html#SXLM0001
Code: Select all
<link linkend="_traffic_filters">TRAFFIC window</link>
Many thanks,
Helena