Build failure: HTML manual

David Nebauer <[email protected]> Fri, 10 Nov 2006 17:36:04 +0930
Newsgroups gmane.text.refdb.devel
Message-ID <[email protected]>
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.

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642