This is the mail archive of the mailing list for the DocBook project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [docbook] XSLT/FO issue -- id "x" already exists in this document


Good point -- touché.  The *.fo file indeed contains only one copy of the "offending" id, attached to a <fo:list-item-label> element.  I am using the apache/java fop-0.20.5. 

Thanks for the correction.

-- Mark

Bob Stayton wrote:
On Tue, Sep 30, 2003 at 02:59:07PM -0400, M Flood wrote:

This is an issue that appears to have been addressed in the past, but 
which I am now seeing for the first time.

I have a substantial Docbook file, which is converted via xsltproc to 
both HTML and PDF.  I am having the
same problem with both docbook-xsl-1.62.0 and 1.62.4.  The Docbook 
conversion to HTML goes fine.

In the conversion to PDF, though, the conversion to FO works fine, but 
the mapping from FO to PDF produces:

[ERROR] file: ... id "id2908630" already exists in this document

 From ealier discussions in the list archives, it sounds like a similar 
problem was addressed already -- so now perhaps it
has regressed.  In my case, the trouble seems to be caused by a lengthy 
(49 items) list of qandaentries.  Does this
sound like a bug?  How much work is it to patch the stylesheets?

You don't mention which FO processor you are using.
There is a bug in FOP that generates this message when
in fact there is no duplicate id.  Search the FO
file for that id string and see if it appears in
more than one id attribute.  If not, then you are 
seeing the bug in FOP.  It might have something to do
with a list at a page break, but I'm not sure.
What fo element has that id in your file?

If you do indeed have duplicate ids in the FO file,
then that is a bug in the stylesheet and I'd like
to hear more.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]