Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 2.3
-
Fix Version/s: 2.5
-
Labels:None
-
Testcase included:yes
-
Number of attachments :
Description
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>
Issue Links
- relates to
-
MPPDF-19
Cannot build the pdf documentation for maven 1.1
-
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.