Download source for gtk+ 2.5.6, configure and build it.
The following problem occurs with the XSL stylesheets
version 1.67.2:
make[4]: Entering directory
`/home/mhz/RPM/BUILD/gtk+-2.5.6/docs/reference/gdk'
*** Building HTML ***
rm -rf ./html
mkdir ./html
cd ./html && gtkdoc-mkhtml gdk ../gdk-docs.sgml
Computing chunks...
runtime error: file
file:///usr/share/xml/docbook/xsl-stylesheets-1.67.2/common/titles.xsl
line 657 element attribute
The error occurs within this template fragment:
<xsl:apply-templates select="$target"
mode="xref-to-prefix"/>
<xsl:if test="$target/title or $target/*/title">
<xsl:attribute name="title">
<xsl:apply-templates select="$target"
mode="xref-title"/>
</xsl:attribute>
</xsl:if>
Does this indicate that the upper apply-templates
directive results in children added to the element?
Logged In: YES
user_id=193218
I removed these lines, which should have been removed
when this code was copied from the match="xref"
template:
<xsl:if test="$target/title or $target/*/title">
<xsl:attribute name="title">
<xsl:apply-templates select="$target" mode="xref-
title"/>
</xsl:attribute>
</xsl:if>
Logged In: YES
user_id=193218
A fix for this issue has been added to the current codebase.
Please test the fix with the latest snapshot from:
http://docbook.sourceforge.net/snapshots/
Logged In: YES
user_id=313104
Thank you, it doesn't produce an error anymore.