Maven 1.x PDF Plugin
  1. Maven 1.x PDF Plugin
  2. MPPDF-54

Duplicate ids in tables in different documents cause a problem

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.5
    • Fix Version/s: 2.5
    • Labels:
      None
    • Environment:
      Maven 1.0.2
      maven-pdf-plugin-2.5-SNAPSHOT
    • Number of attachments :
      0

      Description

      'maven pdf' in struts/current/taglib results in:

      [java] [ERROR] file:/e:/svn/struts/current/taglib/target/pdf/project.fo:9279
      :1971 The id "#define_id" already exists in this document

      The offending anchors are coming from Taglib Reference pages generated
      by the taglib plugin, so this isn't something I can modify in our docs
      to remove the duplicate. It's happening because both <bean:define>
      and <nested:define> have an 'id' attribute.

      In http://marc.theaimsgroup.com/?t=113168444200003&r=1&w=2, Lukas replied:

      "I'm afraid you hit another bug here. I was a bit puzzled first because
      the corresponding id's came from different source documents and
      identical id's are only a problem within one xdoc. However, in your case
      the anchors appear in a table, and apparently somewhere in the xslt
      stylesheet we loose the reference to the current document when
      processing tables."

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Wendy Smoak
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: