[ http://jira.codehaus.org/browse/MPXDOC-159?page=all ]
Lukas Theussl updated MPXDOC-159: --------------------------------- Fix Version: 1.10 > Allow users to provide 'href' attribute to be used a section or subsection > anchor > --------------------------------------------------------------------------------- > > Key: MPXDOC-159 > URL: http://jira.codehaus.org/browse/MPXDOC-159 > Project: maven-xdoc-plugin > Type: New Feature > Reporter: Wendy Smoak > Assignee: Lukas Theussl > Fix For: 1.10 > > > The xdoc plugin uses the 'name' attribute of <section> and <subsection> tags > as the named anchor for that section. If two sections have the same name, > then, you get duplicate anchors. In addition, depending on the text of the > section name, the anchors are often very long with many underscores. > I would like to see something like: > <section name="Some Long Description" href="desc"> > be allowed. The 'href' attribute can be optional-- if it does not exist, > then the section name can be used as the anchor, as usual. If it is present, > then the contents of the href attribute should be used instead. > This has worked well for the Struts website in the past-- I'm currently > converting it over to the Jakarta/Anakia format, and really miss the ability > to pick the anchor name that we had in our custom stylesheet. > This will also allow duplicate section names _without_ creating duplicate > anchors. Duplicate anchors (and so, duplicate ids for FOP) are causing a > problem with the Maven PDF Plugin. See: > http://jira.codehaus.org/browse/MPPDF-40 -- 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]