You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Lukas Theussl (JIRA)" <ji...@codehaus.org> on 2005/03/22 18:39:06 UTC

[jira] Created: (MPPDF-36) maven pdf fails with footer in navigation.xml

maven pdf fails with footer in navigation.xml
---------------------------------------------

         Key: MPPDF-36
         URL: http://jira.codehaus.org/browse/MPPDF-36
     Project: maven-pdf-plugin
        Type: Bug
    Versions: 2.2    
 Environment: any
    Reporter: Lukas Theussl
 Assigned to: Arnaud HERITIER 


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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Closed: (MPPDF-36) maven pdf fails with footer in navigation.xml

Posted by "Arnaud HERITIER (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPPDF-36?page=all ]
     
Arnaud HERITIER closed MPPDF-36:
--------------------------------

    Fix Version: 2.3
     Resolution: Fixed

Patch MPPDF-24 applied. Thanks to Lukas Theussl.

> maven pdf fails with footer in navigation.xml
> ---------------------------------------------
>
>          Key: MPPDF-36
>          URL: http://jira.codehaus.org/browse/MPPDF-36
>      Project: maven-pdf-plugin
>         Type: Bug
>     Versions: 2.2
>  Environment: any
>     Reporter: Lukas Theussl
>     Assignee: Arnaud HERITIER
>      Fix For: 2.3

>
> Original Estimate: 5 minutes
>         Remaining: 5 minutes
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org