[ http://jira.codehaus.org/browse/MPPDF-40?page=all ]
Lukas Theussl updated MPPDF-40: ------------------------------- Attachment: MPPDF-40.patch This should do the job: I introduce an optional 'id' tag like I indicated in my original description for MPXDOC-158. If this id tag is present, it will be used for referencing, if it is omitted, the 'name' tag will be used. Like that we stay compatible with xdoc (well, almost, links will behave differently, but that is an xdoc problem). We just have to document that for identical sub/section names, it is mandatory to specify unique id tags. Note that this patch only fixes the problem of identical sub/sections, identical links in navigation.xml will still fail (but I don't think it is necessary to fix that). I will submit an analogous patch for the xdoc plugin but the current patch can be applied independently of that. > 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 > Attachments: MPPDF-40.patch > > > 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]