Hi Radu,
Here's more context to this, I'm also attaching what the build.xml and plugin.xml of my plugin just in case..
```
Caused by: java.lang.RuntimeException: Internal error evaluating template rule at line 581 in module file:/D:/InfoShare/App/Utilities/DITA-OT/DITA-OT3.6/plugins/org.dita.html5/xsl/tables.xsl
at net.sf.saxon.expr.instruct.TemplateRule.applyLeavingTail(TemplateRule.java:371)
at net.sf.saxon.trans.Mode.applyTemplates(Mode.java:533)
at net.sf.saxon.expr.instruct.ApplyTemplates.apply(ApplyTemplates.java:300)
at net.sf.saxon.expr.instruct.ApplyTemplates.processLeavingTail(ApplyTemplates.java:255)
at net.sf.saxon.expr.instruct.Block.processLeavingTail(Block.java:735)
at net.sf.saxon.expr.instruct.Instruction.process(Instruction.java:132)
at net.sf.saxon.expr.instruct.ElementCreator.processLeavingTail(ElementCreator.java:353)
at net.sf.saxon.expr.instruct.ElementCreator.processLeavingTail(ElementCreator.java:300)
at net.sf.saxon.expr.instruct.Block.processLeavingTail(Block.java:735)
at net.sf.saxon.expr.instruct.TemplateRule.applyLeavingTail(TemplateRule.java:352)
... 113 more
Caused by: java.lang.RuntimeException: Internal error evaluating template rule at line 590 in module file:/D:/InfoShare/App/Utilities/DITA-OT/DITA-OT3.6/plugins/org.dita.html5/xsl/tables.xsl
at net.sf.saxon.expr.instruct.TemplateRule.applyLeavingTail(TemplateRule.java:371)
at net.sf.saxon.trans.Mode.applyTemplates(Mode.java:533)
at net.sf.saxon.expr.instruct.ApplyTemplates.apply(ApplyTemplates.java:300)
at net.sf.saxon.expr.instruct.ApplyTemplates.processLeavingTail(ApplyTemplates.java:255)
at net.sf.saxon.expr.instruct.Block.processLeavingTail(Block.java:735)
at net.sf.saxon.expr.instruct.Instruction.process(Instruction.java:132)
at net.sf.saxon.expr.instruct.ElementCreator.processLeavingTail(ElementCreator.java:353)
at net.sf.saxon.expr.instruct.ElementCreator.processLeavingTail(ElementCreator.java:300)
at net.sf.saxon.expr.instruct.TemplateRule.applyLeavingTail(TemplateRule.java:352)
... 122 more
```
And the plugin.xml:
```
<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="dita-ot/plugin.rnc" type="application/relax-ng-compact-syntax"?>
<plugin id="html-helper">
<require plugin="org.dita.pdf2"/>
<feature extension="ant.import" file="build.xml"/>
<feature extension="
depend.preprocess.post" value="rt-fix"></feature>
</plugin>
```
Finally, the build.xml:
```
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns:dita="
http://dita-ot.sourceforge.net" xmlns:if="ant:if" xmlns:unless="ant:unless" name="html-helper">
<target name="rt-fix" depends="rt.init, map2pdf2, rt.override.tables, rt.endit"/>
<target name="rt.init">
<echo level="info"> "Will this work? Let's find out!"</echo>
</target>
<target name="rt.endit" depends="">
<!--<fail message=Success! Look for the work folder!"></fail>-->
</target>
<target name="rt.override.tables">
<echo level="info">Copying my table xsl to the org.dita.html5/xsl folder.</echo>
<copy file="${dita.plugin.html-helper.dir}/xsl/tables.xsl" todir="${dita.plugin.html-helper.dir}/../org.dita.html5/xsl/" overwrite="true"/>
</target>
<target name="map2pdf2" unless="noMap">
<dirname property="dita.temp.dir.fullpath" file="${dita.temp.dir}${file.separator}dummy.file"/>
<pipeline message="topicmerge" taskname="topic-merge" inputmap="${dita.temp.dir.fullpath}${file.separator}${user.input.file}">
<module class="org.dita.dost.module.TopicMergeModule">
<param name="output" location="${dita.temp.dir.fullpath}${file.separator}_MERGED.xml"/>
<param name="style" location="${dita.plugin.org.dita.pdf2.dir}/xsl/common/topicmerge.xsl"/>
</module>
</pipeline>
</target>
</project>
```