xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adrian Sobotta" <asobo...@internet.org.au>
Subject RE: error = id already exists
Date Thu, 05 Feb 2004 16:51:32 GMT
You can get passed this problem by applying the patch that Nancy Deschenes
wrote.. I got her patch, recompiled that class and updated the jar and all
was good again.. Here is the link to the bug report and patch:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3497



-----Original Message-----
From: Peer Brink [mailto:brink@riege.com] 
Sent: Thursday, 5 February 2004 3:50 PM
To: fop-user@xml.apache.org
Subject: Re: error = id already exists

Hi everybody,

J.Pietschmann wrote:
> There's also a slight chance you got the still not completely fixed
> duplicate id bug, which may bite you in a few somewhat exotic
> situations. If your FO file doesn't have dupliacted ids, send in
> the FO snippet surrounding the place where the objectionable id
> occurs.

I do have exactly this problem. I generate fo from Docbook-XML with
docbook-xslt-stylesheets version 1.64.0 and I get the error

null:640:1159 The id "d0e1379" already exists in this document

from Fop 0.20.5 when generating PDF. Please note that the id from the
error-message is in fact unique in the complete FO-document. Please see
below the fo-snippet containing the id.

Thanks for any help,
Peer.

<fo:block id="d0e1373">
 <fo:block>
  <fo:block>
   <fo:block keep-together="always" margin-left="0cm"
font-family="Helvetica,Arial,sans-serif,Symbol,ZapfDingbats">
    <fo:block keep-with-next.within-column="always">
     <fo:block font-family="Helvetica,Arial,sans-serif" font-weight="bold"
keep-with-next.within-column="always" space-before.minimum="0.8em"
space-before.optimum="1.0em" space-before.maximum="1.2em">
      <fo:marker marker-class-name="section.head.marker">4. FAQ - Frequently
asked Questions (and answers)
      </fo:marker>
      <fo:block font-size="24.8832pt">4. FAQ - Frequently asked Questions
(and answers)</fo:block>
     </fo:block>
    </fo:block>
   </fo:block>
  </fo:block>
  <fo:block/>
 </fo:block>
 <fo:block id="d0e1376">
  <fo:list-block space-before.optimum="0em" space-before.minimum="0em"
space-before.maximum="0em" space-after.optimum="1em"
space-after.minimum="0.8em" space-after.maximum="1.2em"
provisional-label-separation="0.2em"
provisional-distance-between-starts="2.5em">
   <fo:list-item space-before.optimum="0.8em" space-before.minimum="0.5em"
space-before.maximum="1.0em" id="d0e1378">
    <fo:list-item-label id="d0e1379" end-indent="label-end()">
     <fo:block>4.1.
     </fo:block>
    </fo:list-item-label>
    <fo:list-item-body start-indent="body-start()">
     <fo:block space-before.optimum="1em" space-before.minimum="0.8em"
space-before.maximum="1.2em">Which editor program should I use?</fo:block>
    </fo:list-item-body>
   </fo:list-item>
   <fo:list-item space-before.optimum="0.8em" space-before.minimum="0.5em"
space-before.maximum="1.0em">
    <fo:list-item-label id="d0e1382" end-indent="label-end()">
     <fo:block/>
    </fo:list-item-label>
    <fo:list-item-body start-indent="body-start()">
     <fo:block space-before.optimum="1em" space-before.minimum="0.8em"
space-before.maximum="1.2em">Use whatever you like - your favourite text/XML
editor.</fo:block>
    </fo:list-item-body>
   </fo:list-item>
  </fo:list-block>
 </fo:block>
</fo:block>


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org


Mime
View raw message