2002-11-24 Duncan Mak <duncan@ximian.com>
authorDuncan Mak <duncan@mono-cvs.ximian.com>
Sun, 24 Nov 2002 08:22:01 +0000 (08:22 -0000)
committerDuncan Mak <duncan@mono-cvs.ximian.com>
Sun, 24 Nov 2002 08:22:01 +0000 (08:22 -0000)
* XmlImplementation.cs (HasFeature): Fixed a typo. Thanks for
Fabricio Barros Cabral (fx) on #mono for spotting it. This is his
first patch to Mono! ;-)

svn path=/trunk/mcs/; revision=9161

mcs/class/System.XML/System.Xml/ChangeLog
mcs/class/System.XML/System.Xml/XmlImplementation.cs

index a9ad8f9ebc2c79be6566b97758e26b0496c0bbf9..9a1e959369db1404db77e1a178b749c602e901ad 100644 (file)
@@ -1,3 +1,9 @@
+2002-11-24  Duncan Mak  <duncan@ximian.com>
+
+       * XmlImplementation.cs (HasFeature): Fixed a typo. Thanks for
+       Fabricio Barros Cabral (fx) on #mono for spotting it. This is his
+       first patch to Mono! ;-)
+
 2002-11-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
 
        * XmlNode.cs:
index b4f420bd0774b6a393de77e8aff883872b8ff2b5..7febaa83644205eeef9ed2ae7a47a2305fc03d89 100644 (file)
@@ -28,7 +28,7 @@ namespace System.Xml
 \r
                public bool HasFeature (string strFeature, string strVersion)\r
                {\r
-                       if ((strVersion == "XML") || (strVersion == "xml") // not case-sensitive\r
+                       if ((strFeature == "XML") || (strFeature == "xml") // not case-sensitive\r
                            && (strVersion == "1.0") || (strVersion == "2.0"))\r
                                return true;\r
                        else\r