Maven 1.x PDF Plugin
  1. Maven 1.x PDF Plugin
  2. MPPDF-36

maven pdf fails with footer in navigation.xml

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.2
    • Fix Version/s: 2.3
    • Labels:
      None
    • Environment:
      any
    • Number of attachments :
      0

      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.

        Activity

        Hide
        Arnaud Heritier added a comment -

        Patch MPPDF-24 applied. Thanks to Lukas Theussl.

        Show
        Arnaud Heritier added a comment - Patch MPPDF-24 applied. Thanks to Lukas Theussl.

          People

          • Assignee:
            Arnaud Heritier
            Reporter:
            Lukas Theussl
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 5 minutes
              5m
              Remaining:
              Remaining Estimate - 5 minutes
              5m
              Logged:
              Time Spent - Not Specified
              Not Specified