Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Jan 2013 14:52:58 +0000 (UTC)
From:      Hiroki Sato <hrs@FreeBSD.org>
To:        doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org
Subject:   svn commit: r40559 - head/en_US.ISO8859-1/htdocs/search
Message-ID:  <201301091452.r09EqwMa013067@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201301091452.r09EqwMa013067>