svn commit: r40559 - head/en_US.ISO8859-1/htdocs/search

Hiroki Sato hrs at FreeBSD.org
Wed Jan 9 14:52:58 UTC 2013


Author: hrs
Date: Wed Jan  9 14:52:58 2013
New Revision: 40559
URL: http://svnweb.freebsd.org/changeset/doc/40559

Log:
  Fix a syntax error.  This caused a build breakage in newer libxslt which check
  the stylesheet syntax more strictly.
  
  |It is an error for the value of either the use attribute or the match
  |attribute to contain a VariableReference.
  | (XSL Transformations (XSLT) Version 1.0, Section 12.2)

Modified:
  head/en_US.ISO8859-1/htdocs/search/index-site.xsl

Modified: head/en_US.ISO8859-1/htdocs/search/index-site.xsl
==============================================================================
--- head/en_US.ISO8859-1/htdocs/search/index-site.xsl	Wed Jan  9 14:50:21 2013	(r40558)
+++ head/en_US.ISO8859-1/htdocs/search/index-site.xsl	Wed Jan  9 14:52:58 2013	(r40559)
@@ -13,7 +13,7 @@
   <xsl:import href="http://www.FreeBSD.org/XML/www/share/xml/libcommon.xsl"/>
   <xsl:import href="http://www.FreeBSD.org/XML/www/share/xml/xhtml.xsl"/>
 
-  <xsl:key name="indexLetter" match="term" use="translate(substring(text, 1, 1), $lowercase, $uppercase)"/>
+  <xsl:key name="indexLetter" match="term" use="translate(substring(text, 1, 1), 'abcdefghijklmnopqrstuvwxyz', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ')"/>
 
   <xsl:variable name="title">&title;</xsl:variable>
 


More information about the svn-doc-all mailing list