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/06/23 17:47:53 UTC

[jira] Commented: (MPPDF-40) Can't use 2 subsections with the same name

    [ http://jira.codehaus.org/browse/MPPDF-40?page=comments#action_41940 ] 

Lukas Theussl commented on MPPDF-40:
------------------------------------

My personal feeling is that this is rather a fop issue - duplicate id's should be ignored and not lead to a build failure. In principle I could work around that by enumerating identical id's, however, it would be impossible to resolve the ambiguity when two identical id's are referenced. For that reason I think it would be better to just document the issue.

Note that the issue only applies to id's within the same document, and that identical <a name="id"> tags lead to the same problem.

Also note that the xdoc plugin will generate identical id's for the example above as well.

> Can't use 2 subsections with the same name
> ------------------------------------------
>
>          Key: MPPDF-40
>          URL: http://jira.codehaus.org/browse/MPPDF-40
>      Project: maven-pdf-plugin
>         Type: Bug
>     Versions: 2.3
>     Reporter: Arnaud HERITIER
>     Assignee: Arnaud HERITIER
>     Priority: Critical

>
>
> If 2 subsections have the same name the pdf generation fails because they have the same id.
> For exemple :
>     <section name="Section 1">
>       <subsection name="SubSection">
>       </subsection>
>     </section>
>     <section name="Section2">
>       <subsection name="SubSection">
>       </subsection>
>     </section>

-- 
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