<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p><font size="-1"><font face="Helvetica, Arial, sans-serif">Hi Bernhard,</font></font></p>
    <p><font size="-1"><font face="Helvetica, Arial, sans-serif">Try
          setting the stylesheet parameter 'autolink.index.see' to zero.</font></font></p>
    <p><font size="-1"><font face="Helvetica, Arial, sans-serif">When
          that parameter is set to 1 (the default), then the stylesheet
          generates an id on each primary entry in the index so that any
          "see" entries can link to them.  When you have multiple
          indexes that repeat terms (as in your case), then duplicate
          ids are generated and FOP fails.  This is a known bug and
          should be fixed in the next release of the stylesheets.  In
          the meantime, set that parameter to zero and forego the
          automatic linking of "see" entries in your index.</font></font><br>
    </p>
    <pre class="moz-signature" cols="72">Bob Stayton
Sagehill Enterprises
<a class="moz-txt-link-abbreviated" href="mailto:bobs@sagehill.net">bobs@sagehill.net</a></pre>
    <div class="moz-cite-prefix">On 8/6/2018 6:04 AM, Bernhard Kleine
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:1315b34c-6b0d-4853-e30f-540019783b70@gmx.net">
      <meta http-equiv="content-type" content="text/html; charset=utf-8">
      <p>I have the following document:</p>
      <p><?xml version="1.0" encoding="UTF-8"?><br>
        <?xml-model href=<a class="moz-txt-link-rfc2396E"
          href="http://docbook.org/xml/5.1/rng/docbookxi.rng"
          moz-do-not-send="true">"http://docbook.org/xml/5.1/rng/docbookxi.rng"</a>
        schematypens=<a class="moz-txt-link-rfc2396E"
          href="http://relaxng.org/ns/structure/1.0"
          moz-do-not-send="true">"http://relaxng.org/ns/structure/1.0"</a>?><br>
        <?xml-model href=<a class="moz-txt-link-rfc2396E"
          href="http://docbook.org/xml/5.1/sch/docbook.sch"
          moz-do-not-send="true">"http://docbook.org/xml/5.1/sch/docbook.sch"</a>
        type="application/xml" schematypens=<a
          class="moz-txt-link-rfc2396E"
          href="http://purl.oclc.org/dsdl/schematron"
          moz-do-not-send="true">"http://purl.oclc.org/dsdl/schematron"</a>?><br>
        <?xml-stylesheet type="text/xsl"
        href="../xslt/fo/Falterbuechlein.xsl"?><br>
        <book xmlns=<a class="moz-txt-link-rfc2396E"
          href="http://docbook.org/ns/docbook" moz-do-not-send="true">"http://docbook.org/ns/docbook"</a>
        <a class="moz-txt-link-freetext" href="xml:lang=">xml:lang=</a>"de" xmlns:xi=<a class="moz-txt-link-rfc2396E"
          href="http://www.w3.org/2001/XInclude" moz-do-not-send="true">"http://www.w3.org/2001/XInclude"</a><br>
            xmlns:xlink=<a class="moz-txt-link-rfc2396E"
          href="http://www.w3.org/1999/xlink" moz-do-not-send="true">"http://www.w3.org/1999/xlink"</a>
        version="5.1"><br>
            <info><br>
                <title>Falter in Urseetal 2018</title><br>
                <subtitle/><br>
                <author><br>
                    <personname><br>
                         <surname>Kleine</surname><br>
                    </personname><br>
                    <br>
                    <address><br>
                        <city>Lenzkirch</city><br>
                    </address><br>
                    <email><a class="moz-txt-link-abbreviated"
          href="mailto:bernhard.kleine@gmx.net" moz-do-not-send="true">bernhard.kleine@gmx.net</a></email><br>
                </author><br>
            </info><br>
            <preface><br>
                <title>Vorwort</title><br>
                <br>
            </preface><br>
            <chapter><br>
                <title>Tagfalter</title><br>
                <sect1 <a class="moz-txt-link-freetext" href="xml:id=">xml:id=</a>"Hesperiidae"><br>
                    <title>Hesperiidae<font color="#cc0000"><indexterm
          type="science"></font><primary>Hesperiidae</primary></indexterm>
        — Dickkopffalter<indexterm>       
<primary>Dickkopffalter</primary></indexterm></title><br>
                    <sect2><br>
                        <title>Kleiner
Würfeldickkopffalter</title><indexterm><primary>Kleiner
        Würfeldickkopffalter</primary></indexterm><br>
                                   <para><br>
                                        <emphasis
        role="bold">Pyrgus malvae</emphasis><font
          color="#cc0000"><indexterm type="science"></font><primary>Pyrgus
        malvae</primary></indexterm><br>
                                    </para><br>
                                    <para>Flugzeit: Mitte April
        bis Mitte Juli</para><br>
                    </sect2><br>
                </sect1><br>
            </chapter><br>
          <font color="#cc0000"> <index type="science"></font><br>
                <title>Wissenschaftliches
        Namesverzeichnis</title><br>
            </index><br>
            <index/><br>
            <br>
        </book><br>
        <br>
        Transforming this with FOP gives an error: </p>
      <blockquote type="cite">
        <table>
          <tbody>
            <tr>
              <td>
                <pre>The process 'Apache FOP' ended with code: 1.
The error was: 
ERROR - net.sf.saxon.trans.XPathException: org.apache.fop.fo.ValidationException: Property ID "ientry-d5e19" (found on "fo:block") previously used; ID values must be unique within a document! (Siehe Position 3:20133)
ERROR - Exception
org.apache.fop.apps.FOPException: org.apache.fop.fo.ValidationException: Property ID "ientry-d5e19" (found on "fo:block") previously used; ID values must be unique within a document! (Siehe Position 3:20133)
net.sf.saxon.trans.XPathException: org.apache.fop.fo.ValidationException: Property ID "ientry-d5e19" (found on "fo:block") previously used; ID values must be unique within a document! (Siehe Position 3:20133)
        at org.apache.fop.cli.InputHandlerFOP.transformTo(Unknown Source)
        at org.apache.fop.cli.InputHandlerFOP.renderTo(Unknown Source)
        at org.apache.fop.cli.Main.startFOP(Main.java:186)
        at org.apache.fop.cli.Main.main(Main.java:217)
Caused by: net.sf.saxon.trans.XPathException: org.apache.fop.fo.ValidationException: Property ID "ientry-d5e19" (found on "fo:block") previously used; ID values must be unique within a document! (Siehe Position 3:20133)
        at net.sf.saxon.event.ContentHandlerProxy.handleSAXException(Unknown Source)
        at net.sf.saxon.event.ContentHandlerProxy.startContent(Unknown Source)
        at net.sf.saxon.event.NamespaceReducer.startContent(NamespaceReducer.java:213)
        at net.sf.saxon.event.ComplexContentOutputter.startContent(ComplexContentOutputter.java:721)
        at net.sf.saxon.event.ReceivingContentHandler.startElement(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
        at org.apache.xerces.xinclude.XIncludeHandler.startElement(Unknown Source)
        at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
        at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
        at net.sf.saxon.event.Sender.sendSAXSource(Sender.java:427)
        at net.sf.saxon.event.Sender.send(Sender.java:138)
        at net.sf.saxon.jaxp.IdentityTransformer.transform(IdentityTransformer.java:383)
        ... 4 more
Caused by: org.apache.fop.fo.ValidationException: Property ID "ientry-d5e19" (found on "fo:block") previously used; ID values must be unique within a document! (Siehe Position 3:20133)
        at org.apache.fop.events.ValidationExceptionFactory.createException(ValidationExceptionFactory.java:38)
        at org.apache.fop.events.EventExceptionManager.throwException(EventExceptionManager.java:58)
        at org.apache.fop.events.DefaultEventBroadcaster$1.invoke(DefaultEventBroadcaster.java:173)
        at com.sun.proxy.$Proxy4.idNotUnique(Unknown Source)
        at org.apache.fop.fo.FObj.checkId(FObj.java:202)
        at org.apache.fop.fo.FObj.startOfNode(FObj.java:183)
        at org.apache.fop.fo.flow.Block.startOfNode(Block.java:144)
        at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.startElement(FOTreeBuilder.java:337)
        at org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:179)
        ... 21 more
</pre>
              </td>
            </tr>
          </tbody>
        </table>
      </blockquote>
       
      <p>Commenting the lines</p>
      <p><!--   <index type="science"><br>
                <title>Wissenschaftliches
        Namesverzeichnis</title><br>
            </index>--></p>
      <p>gets rid of the error, but the scientific names are not
        separated in the index from the German ones. The construction is
        according to page 312 of Docbook XSLT by Bob Stayton. What did I
        wrong?</p>
      <p>Regards</p>
      <p>Bernhard<br>
      </p>
      <pre class="moz-signature" cols="72">-- 
spitzhalde9
D-79853 lenzkirch
<a class="moz-txt-link-abbreviated" href="mailto:bernhard.kleine@gmx.net" moz-do-not-send="true">bernhard.kleine@gmx.net</a>
<a class="moz-txt-link-abbreviated" href="http://www.b-kleine.com" moz-do-not-send="true">www.b-kleine.com</a>, <a class="moz-txt-link-abbreviated" href="http://www.urseetal.net" moz-do-not-send="true">www.urseetal.net</a>
-
thunderbird mit enigmail
GPG schlüssel: D5257409
fingerprint:
08 B7 F8 70 22 7A FC C1 15 49 CA A6 C7 6F A0 2E D5 25 74 09</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
oXygen-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:oXygen-user@oxygenxml.com">oXygen-user@oxygenxml.com</a>
<a class="moz-txt-link-freetext" href="https://www.oxygenxml.com/mailman/listinfo/oxygen-user">https://www.oxygenxml.com/mailman/listinfo/oxygen-user</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>