Author: atsushi
Date: 2005-03-04 02:05:22 -0500 (Fri, 04 Mar 2005)
New Revision: 41427

Modified:
   trunk/mcs/class/System.XML/System.Xml.XPath/ChangeLog
   trunk/mcs/class/System.XML/System.Xml.XPath/Expression.cs
Log:
2004-03-04  Atsushi Enomoto  <[EMAIL PROTECTED]>

        * Expression.cs : Significant whitespace nodes must be returned in
          text() NodeTypeTest.



Modified: trunk/mcs/class/System.XML/System.Xml.XPath/ChangeLog
===================================================================
--- trunk/mcs/class/System.XML/System.Xml.XPath/ChangeLog       2005-03-04 
06:43:23 UTC (rev 41426)
+++ trunk/mcs/class/System.XML/System.Xml.XPath/ChangeLog       2005-03-04 
07:05:22 UTC (rev 41427)
@@ -1,3 +1,8 @@
+2004-03-04  Atsushi Enomoto  <[EMAIL PROTECTED]>
+
+       * Expression.cs : Significant whitespace nodes must be returned in
+         text() NodeTypeTest.
+
 2004-02-23  Atsushi Enomoto  <[EMAIL PROTECTED]>
 
        * Expression.cs : xsl:sort case-order was not handled properly.

Modified: trunk/mcs/class/System.XML/System.Xml.XPath/Expression.cs
===================================================================
--- trunk/mcs/class/System.XML/System.Xml.XPath/Expression.cs   2005-03-04 
06:43:23 UTC (rev 41426)
+++ trunk/mcs/class/System.XML/System.Xml.XPath/Expression.cs   2005-03-04 
07:05:22 UTC (rev 41427)
@@ -1274,6 +1274,10 @@
                                                return false;
                                        return true;
                                
+                               case XPathNodeType.Text:
+                                       if (nodeType == 
XPathNodeType.SignificantWhitespace)
+                                               return true;
+                                       goto default;
                                default:
                                        return type == nodeType;
                        }

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to