From: <bob...@us...> - 2006-08-13 09:10:56
|
Revision: 6159 Author: bobstayton Date: 2006-08-13 02:10:50 -0700 (Sun, 13 Aug 2006) ViewCVS: http://svn.sourceforge.net/docbook/?rev=6159&view=rev Log Message: ----------- Add Xalan variant to test for exslt:node-set function. Xalan can use function named node-set(), but doesn't recognize it using function-available(). Modified Paths: -------------- trunk/xsl/fo/autoidx.xsl trunk/xsl/html/autoidx.xsl Modified: trunk/xsl/fo/autoidx.xsl =================================================================== --- trunk/xsl/fo/autoidx.xsl 2006-08-13 07:54:06 UTC (rev 6158) +++ trunk/xsl/fo/autoidx.xsl 2006-08-13 09:10:50 UTC (rev 6159) @@ -192,7 +192,8 @@ </xsl:if> - <xsl:if test="not(function-available('exslt:node-set'))"> + <xsl:if test="not(function-available('exslt:node-set') or + function-available('exslt:nodeSet'))"> <xsl:message terminate="yes"> <xsl:text>ERROR: the 'kosek' index method requires the </xsl:text> <xsl:text>exslt:node-set() function. Use a processor that </xsl:text> Modified: trunk/xsl/html/autoidx.xsl =================================================================== --- trunk/xsl/html/autoidx.xsl 2006-08-13 07:54:06 UTC (rev 6158) +++ trunk/xsl/html/autoidx.xsl 2006-08-13 09:10:50 UTC (rev 6159) @@ -222,7 +222,8 @@ </xsl:if> - <xsl:if test="not(function-available('exslt:node-set'))"> + <xsl:if test="not(function-available('exslt:node-set') or + function-available('exslt:nodeSet'))"> <xsl:message terminate="yes"> <xsl:text>ERROR: the 'kosek' index method requires the </xsl:text> <xsl:text>exslt:node-set() function. Use a processor that </xsl:text> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |