[ http://jira.codehaus.org/browse/MPPDF-40?page=comments#action_44456 ]
Lukas Theussl commented on MPPDF-40: ------------------------------------ Even if we would generate a unique id, it would be completely useless for the end user if he doesn't know how to reference it (how would you link to your two subsections above from a different source document?). We would have to document and tell the user how we generate the ids, but then we can also tell him to use unique ids in the first place. The only alternative that I see is to abandon the id generation from section names completely and tell the user to use a unique <a name=""/> element for every section he wants to reference. That would be the cleanest solution, but it would break compatibility with the xdoc plugin and I would only support it if the same change would be made in the xdoc plugin. (thinking about it, one should actually open the very same issue for the xdoc plugin, for the reason I stated above). > 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
