This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


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

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


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