section title
<section id="mop-clisp"><title>Deviations from <xref linkend="amop"/></title>
...</section>
where "amop" is a <biblioentry id="amop">
is rendered incorrectly in TOC:
<dt><span class="section"><a href="mop-clisp.html">29.12. Deviations from </a></span></dt>
i.e., nothing is rendered from the xref.
note that the section title in the text is correct:
<h2 class="title" style="clear: both"><a id="mop-clisp"></a>29.12. Deviations from <a class="xref" href="references.html#amop" title="The Art of the Metaobject Protocol">[<abbr class="abbrev">AMOP</abbr>]</a></h2>
$ xsltproc --version
Using libxml 20630, libxslt 10122 and libexslt 813
xsltproc was compiled against libxml 20629, libxslt 10122 and libexslt 813
libxslt 10122 was compiled against libxml 20629
libexslt 813 was compiled against libxml 20629
Docbook XSL: "rsync -av --port=5873 docbook.xml-doc.org::xsl" at Sun Nov 25 11:22:39 EST 2007
Logged In: YES
user_id=582041
Originator: NO
This is caused by the fix I made in response to bug #1811721. Sigh... :-).
I have now changed "not(ancestor::title)" to "not(ancestor::*[@id = $target/@id] or ancestor::*[@xml:id = $target/@xml:id])" in titles.xsl. This makes an xref in a title be rendered in the TOC, provided that the target is not an ancestor element.
Logged In: YES
user_id=1312539
Originator: NO
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).