From b9d31cf178754b006fdbf61eac1b375ecbf11a92 Mon Sep 17 00:00:00 2001 From: Hiroki Sato <hrs@FreeBSD.org> Date: Wed, 9 Jan 2013 14:52:58 +0000 Subject: [PATCH] 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) --- en_US.ISO8859-1/htdocs/search/index-site.xsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en_US.ISO8859-1/htdocs/search/index-site.xsl b/en_US.ISO8859-1/htdocs/search/index-site.xsl index 6e94e103fc..2a004a1971 100644 --- a/en_US.ISO8859-1/htdocs/search/index-site.xsl +++ b/en_US.ISO8859-1/htdocs/search/index-site.xsl @@ -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>