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
-
Activity
Arnaud Heritier
made changes -
Lukas Theussl
made changes -
| Attachment | MPPDF-40.patch [ 16353 ] |
Arnaud Heritier
made changes -
| Assignee | Arnaud Heritier [ aheritier ] |
Lukas Theussl
made changes -
| Status | Open [ 1 ] | Closed [ 6 ] |
| Resolution | Fixed [ 1 ] |
Arnaud Heritier
made changes -
| Resolution | Fixed [ 1 ] | |
| Status | Closed [ 6 ] | Reopened [ 4 ] |
Arnaud Heritier
made changes -
| Assignee | Lukas Theussl [ lukas ] |
Arnaud Heritier
made changes -
| Resolution | Fixed [ 1 ] | |
| Status | Reopened [ 4 ] | Closed [ 6 ] |
| Fix Version/s | 2.5 [ 11985 ] |
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.