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=80820 --- shadow/80820 2007-02-13 05:29:47.000000000 -0500 +++ shadow/80820.tmp.21080 2007-02-13 05:29:47.000000000 -0500 @@ -0,0 +1,35 @@ +Bug#: 80820 +Product: Mono: Class Libraries +Version: 1.2 +OS: +OS Details: +Status: NEW +Resolution: +Severity: +Priority: Wishlist +Component: Sys.XML +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: XmlTextWriter: incorrect xml declaration + +Steps to reproduce the problem: + +XmlWriterSettings xmlws = new XmlWriterSettings(); +xmlws.Encoding = Encoding.UTF8; +StringWriter output = new StringWriter(); +XmlWriter xml = XmlTextWriter.Create(output, xmlws); +xml.WriteStartDocument(); +xml.WriteStartElement("test"); +xml.WriteEndElement(); +xml.WriteEndDocument(); + +The emitted XML declaration is +<?xml version="1.0" encodinf="utf-16"?> + +but should be + +<?xml version="1.0" encodinf="utf-8"?> _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
