[Mono-bugs] [Bug 72739][Nor] Changed - XmlSerializer will serialize invalid XML characters but complain at deserialization.

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 25 Feb 2005 11:27:13 -0500 (EST)


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 lluis@ximian.com.

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

--- shadow/72739	2005-02-18 15:47:34.000000000 -0500
+++ shadow/72739.tmp.31781	2005-02-25 11:27:13.000000000 -0500
@@ -1,14 +1,14 @@
 Bug#: 72739
 Product: Mono: Class Libraries
 Version: 1.1
-OS: 
+OS: unknown
 OS Details: 
-Status: NEW   
-Resolution: 
-Severity: 
+Status: RESOLVED   
+Resolution: NOTABUG
+Severity: Unknown
 Priority: Normal
 Component: Sys.XML
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: joeshaw@novell.com               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
@@ -25,6 +25,12 @@
 System.Xml.XmlException: Referenced character was
 not allowed in XML. Normalization is True, checkCharacters = True  Line 9,
 position 69.
 
 I would expect that either it would complain at serialization time, or
 offer a way to replace the invalid characters with valid ones.
+
+------- Additional Comments From lluis@ximian.com  2005-02-25 11:27 -------
+I'm resolving this as NOTABUG because MS.NET behaves in the same way.
+In .NET 1.1 there is no way to load a document with invalid chars,
+although in 2.0 there is an option in XmlReaderSettings to disable
+this check.