This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: [docbook] XSLT/FO issue -- id "x" already exists in this document
- From: Bob Stayton <bobs at sco dot com>
- To: M Flood <mdflood at starpower dot net>
- Cc: docbook at lists dot oasis-open dot org
- Date: Tue, 30 Sep 2003 13:18:32 -0700
- Subject: Re: [docbook] XSLT/FO issue -- id "x" already exists in this document
- References: <3F79D27B.9000306@starpower.net>
On Tue, Sep 30, 2003 at 02:59:07PM -0400, M Flood wrote:
> Greetings:
>
> 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.
--
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
The SCO Group fax: (831) 429-1887
email: bobs@sco.com
To unsubscribe from this list, send a post to docbook-unsubscribe@lists.oasis-open.org.