This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Problems with glossterms,DocBook FO-Stylesheets (1.48) and FOP
- From: Sven Kitschke <kicke at web dot de>
- To: docbook-apps at lists dot oasis-open dot org
- Date: Wed, 09 Jan 2002 13:50:27 +0100
- Subject: DOCBOOK-APPS: Problems with glossterms,DocBook FO-Stylesheets (1.48) and FOP
Hi all,
I have Problems to generate PDF with FOP 0.20.2 and the new
XSL-Stylesheets (1.48). (I don't dealing with
the master-reference stuff here!)
FOP dies complaining about twice defined IDs:
[ERROR]: The id "lock" already exists in this document
I identified the glossary-related stylesheets as producer
of the second id. After commenting out
<xsl:template match="glossentry/glossterm[1]" priority="2">
...
</xsl:template>
in glossary.xsl it worked.
I assume this is a problem of the Stylesheets, but neither
PassiveTEX nor XEP report problems.
------------------
My source fragment:
<glossary id="gloss">
...
<glossentry id="lock">
<glossterm>Lock</glossterm>
<glossdef>
<para>...</para>
</glossdef>
</glossentry>
...
</glossary>
------------------
The generated fo-Fragment looks like:
<fo:list-item ... id="lock">
<fo:list-item-label end-indent="label-end()">
<fo:block id="lock">Lock</fo:block>
</fo:list-item-label>
...
</fo:list-item>
Sven