Browse Source

2004-02-23 Atsushi Enomoto <[email protected]>

	* Expression.cs : xsl:sort case-order was not handled properly.


svn path=/trunk/mcs/; revision=41099
Atsushi Eno 21 years ago
parent
commit
78640dbcdb

+ 4 - 0
mcs/class/System.XML/System.Xml.XPath/ChangeLog

@@ -1,3 +1,7 @@
+2004-02-23  Atsushi Enomoto  <[email protected]>
+
+	* Expression.cs : xsl:sort case-order was not handled properly.
+
 2004-02-23  Atsushi Enomoto  <[email protected]>
 
 	* Iterator.cs :

+ 1 - 1
mcs/class/System.XML/System.Xml.XPath/Expression.cs

@@ -348,7 +348,7 @@ namespace System.Xml.XPath
 					public XPathTextComparer (XmlSortOrder orderSort, XmlCaseOrder orderCase, string strLang)
 					{
 						_orderCase = orderCase;
-						_nMulCase = (orderCase == XmlCaseOrder.UpperFirst) ? -1 : 1;
+						_nMulCase = (orderCase == XmlCaseOrder.UpperFirst) ? 1 : -1;
 
 						_nMulSort = (orderSort == XmlSortOrder.Ascending) ? 1 : -1;