Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by [EMAIL PROTECTED]

http://bugzilla.ximian.com/show_bug.cgi?id=78598

--- shadow/78598        2006-06-07 08:46:49.000000000 -0400
+++ shadow/78598.tmp.29161      2006-06-07 08:46:49.000000000 -0400
@@ -0,0 +1,55 @@
+Bug#: 78598
+Product: Mono: Class Libraries
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Sys.XML
+AssignedTo: [EMAIL PROTECTED]                            
+ReportedBy: [EMAIL PROTECTED]               
+QAContact: [EMAIL PROTECTED]
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: XmlWriter doesn't handle attribute namespaces properly (regression)
+
+Run the following test case:
+
+using System;
+using System.Xml;
+
+public class Tester
+{
+       public static void Main ()
+       {
+               XmlTextWriter tw = new XmlTextWriter (Console.Out);
+               
+               tw.WriteStartElement ("Envelope");
+               tw.WriteAttributeString ("xmlns",
+"http://schemas.xmlsoap.org/soap/envelope/";);
+               
+               tw.WriteStartElement ("UserInfo");
+               tw.WriteAttributeString ("actor",
+"http://schemas.xmlsoap.org/soap/envelope/";, "");
+               tw.WriteEndElement ();
+
+               tw.WriteEndElement ();
+       }
+}
+
+This writes:
+
+<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/";><UserInfo
+actor="" /></Envelope>
+
+Which is incorrect since the actor attribute should be bound to the
+http://schemas.xmlsoap.org/soap/envelope/ namespace.
+
+While MS.NET writes:
+
+<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/";><UserInfo
+d2p1:actor="" xmlns:d2p1="http://schemas.xmlsoap.org/soap/envelope/";
+/></Envelope>
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to