Author: atsushi
Date: 2005-03-25 06:37:19 -0500 (Fri, 25 Mar 2005)
New Revision: 42248
Modified:
trunk/mcs/class/System.XML/Test/System.Xml/ChangeLog
trunk/mcs/class/System.XML/Test/System.Xml/XmlTextWriterTests.cs
Log:
2005-03-25 Atsushi Enomoto <[EMAIL PROTECTED]>
* XmlTextWriterTests.cs : added more test case for xml:space.
Modified: trunk/mcs/class/System.XML/Test/System.Xml/ChangeLog
===================================================================
--- trunk/mcs/class/System.XML/Test/System.Xml/ChangeLog 2005-03-25
10:56:11 UTC (rev 42247)
+++ trunk/mcs/class/System.XML/Test/System.Xml/ChangeLog 2005-03-25
11:37:19 UTC (rev 42248)
@@ -1,3 +1,7 @@
+2005-03-25 Atsushi Enomoto <[EMAIL PROTECTED]>
+
+ * XmlTextWriterTests.cs : added more test case for xml:space.
+
2005-03-24 Atsushi Enomoto <[EMAIL PROTECTED]>
* XmlTextWriterTests.cs : added more tests on WriteQualifiedName().
Modified: trunk/mcs/class/System.XML/Test/System.Xml/XmlTextWriterTests.cs
===================================================================
--- trunk/mcs/class/System.XML/Test/System.Xml/XmlTextWriterTests.cs
2005-03-25 10:56:11 UTC (rev 42247)
+++ trunk/mcs/class/System.XML/Test/System.Xml/XmlTextWriterTests.cs
2005-03-25 11:37:19 UTC (rev 42248)
@@ -1377,5 +1377,14 @@
Assert ("xmlns:p", xml.IndexOf ("xmlns:p='urn:foo'") >
0);
Assert ("remaining", xml.IndexOf ("<out
p:foo='xyz'><out p:foo='xyz' /></out></out>") > 0);
}
+
+ [Test]
+ public void WriteXmlSpaceIgnoresNS ()
+ {
+ xtw.WriteStartElement ("root");
+ xtw.WriteAttributeString ("xml", "space", "abc",
"preserve");
+ xtw.WriteEndElement ();
+ AssertEquals ("<root xml:space='preserve' />",
sw.ToString ());
+ }
}
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches