Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.2
-
Fix Version/s: 2.3
-
Labels:None
-
Environment:any
-
Number of attachments :
Description
The following navigation.xml makes the maven:pdf plugin fail:
<?xml version="1.0" encoding="ISO-8859-1"?>
<project name="Maven Test">
<title>Maven Test</title>
<body>
<menu name="Navigation">
<item name="Home" href="/index.html"/>
</menu>
<footer>
<p>A footer!</p>
</footer>
</body>
</project>
but if I comment out the <footer> part, everything works fine.
I worked around that problem by including the following lines in project2fo.xslt:
<xsl:template match="project/body/footer">
<!-- Ignore footer -->
</xsl:template>
ie the footer part is simply ignored.
Patch
MPPDF-24applied. Thanks to Lukas Theussl.