David Nebauer
2006-11-10 08:06:04 UTC
Hi Markus,
Revision 218 currently fails to build the HTML manual, reporting the
following error:
-------------------------------------------------------------------------------------
Creating HTML manual...
rm -rf refdb-manual/*
mkdir -p refdb-manual && cp ../doc/manual.css ../doc/refdbmanualfig1.png
../doc/refdbmanualfig2.png ../doc/refdbmanualfig3.png
../doc/refdbmanualfig4.png ../doc/refdbmanualfig5.png refdb-manual/ &&
xsltproc -o refdb-manual/ --nonet --xinclude include/manual-xhtml.xsl
refdb-manual.xml
runtime error: file
file:///usr/share/xml/docbook/stylesheet/nwalsh/xhtml/autotoc.xsl line
190 element apply-templates
The 'select' expression did not evaluate to a node set.
make[2]: *** [refdb-manual/*] Error 10
-------------------------------------------------------------------------------------
The relevant portion of the autotoc.xsl file is:
-------------------------------------------------------------------------------------
<xsl:variable name="subtoc">
<xsl:element name="{$toc.list.type}"
namespace="http://www.w3.org/1999/xhtml">
<xsl:apply-templates mode="toc" select="$nodes">
<xsl:with-param name="toc-context" select="$toc-context"/>
</xsl:apply-templates>
</xsl:element>
</xsl:variable>
-------------------------------------------------------------------------------------
The third line is the one generating the error.
I assume this error is due to a change in the toolset rather than a
change in refdb sources as there appear to have been changes made
recently to underlying java libraries. This became evident when I fixed
another build error due to batik failing to convert svg to png. The
batik error was caused by an unsatisfied dependency -- either the
dependent library (Attributes2.java) had been removed from an existing
jarfile or the dependency is new.
I'd appreciate some help in debugging this build failure as my
understanding of xsl is tenuous at best.
Regards,
David.
Revision 218 currently fails to build the HTML manual, reporting the
following error:
-------------------------------------------------------------------------------------
Creating HTML manual...
rm -rf refdb-manual/*
mkdir -p refdb-manual && cp ../doc/manual.css ../doc/refdbmanualfig1.png
../doc/refdbmanualfig2.png ../doc/refdbmanualfig3.png
../doc/refdbmanualfig4.png ../doc/refdbmanualfig5.png refdb-manual/ &&
xsltproc -o refdb-manual/ --nonet --xinclude include/manual-xhtml.xsl
refdb-manual.xml
runtime error: file
file:///usr/share/xml/docbook/stylesheet/nwalsh/xhtml/autotoc.xsl line
190 element apply-templates
The 'select' expression did not evaluate to a node set.
make[2]: *** [refdb-manual/*] Error 10
-------------------------------------------------------------------------------------
The relevant portion of the autotoc.xsl file is:
-------------------------------------------------------------------------------------
<xsl:variable name="subtoc">
<xsl:element name="{$toc.list.type}"
namespace="http://www.w3.org/1999/xhtml">
<xsl:apply-templates mode="toc" select="$nodes">
<xsl:with-param name="toc-context" select="$toc-context"/>
</xsl:apply-templates>
</xsl:element>
</xsl:variable>
-------------------------------------------------------------------------------------
The third line is the one generating the error.
I assume this error is due to a change in the toolset rather than a
change in refdb sources as there appear to have been changes made
recently to underlying java libraries. This became evident when I fixed
another build error due to batik failing to convert svg to png. The
batik error was caused by an unsatisfied dependency -- either the
dependent library (Attributes2.java) had been removed from an existing
jarfile or the dependency is new.
I'd appreciate some help in debugging this build failure as my
understanding of xsl is tenuous at best.
Regards,
David.