* XslTransformTests.cs: Explicitly omit XML declaration, allowing test to
authorGert Driesen <drieseng@users.sourceforge.net>
Sun, 4 Dec 2005 20:00:35 +0000 (20:00 -0000)
committerGert Driesen <drieseng@users.sourceforge.net>
Sun, 4 Dec 2005 20:00:35 +0000 (20:00 -0000)
pass on both MS.NET and Mono.

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

mcs/class/System.XML/Test/System.Xml.Xsl/ChangeLog
mcs/class/System.XML/Test/System.Xml.Xsl/XslTransformTests.cs

index fc2b212e93d173d2f04a30095be8f452831f2c21..c28729bdde1baa3d4fd12d0a96128eb2a4ec3016 100644 (file)
@@ -1,3 +1,8 @@
+2005-12-04  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * XslTransformTests.cs: Explictly omit xml declaration, allowing
+       test to pass on both Mono and MS.NET.
+
 2005-12-04  Gert Driesen  <drieseng@users.sourceforge.net>
 
        * XslTransformTests.cs: Undo formatting changes.
index 4d53c5c33408b2ea8cae7e517015f21ce63cc3c3..fb6f493fa49226f92d33e10a223a57475439e1ae 100644 (file)
@@ -362,7 +362,6 @@ xmlns:xsl='http://www.w3.org/1999/XSL/Transform' xmlns:msxsl='urn:schemas-micros
 
                // http://support.microsoft.com/default.aspx?scid=kb;en-us;829014
                [Test]
-               [Category ("NotWorking")]
                public void EmptyNodeSetSort ()
                {
                        string xmlFragment = @"<?xml version=""1.0"" encoding=""utf-8""?>
@@ -383,6 +382,7 @@ xmlns:xsl='http://www.w3.org/1999/XSL/Transform' xmlns:msxsl='urn:schemas-micros
 
                        string xsltFragment = @"<?xml version=""1.0""?>
                                <xsl:stylesheet version=""1.0"" xmlns:xsl=""http://www.w3.org/1999/XSL/Transform"">
+                                       <xsl:output omit-xml-declaration=""yes"" />
                                        <xsl:preserve-space elements=""*"" />
                                        <xsl:template match=""/EMPLOYEES"">
                                                <xsl:for-each select=""EMPLOYEE[DEPT='Finance']"">