[Mono-bugs] [Bug 60066][Min] New - When 'ValidationType' set to 'Schema', 'System.Xml.XmlValidatingReader' behaves differently compare to MS version

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 11 Jun 2004 19:57:26 -0400 (EDT)


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 chengxie@telus.net.

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

--- shadow/60066	2004-06-11 19:57:26.000000000 -0400
+++ shadow/60066.tmp.30084	2004-06-11 19:57:26.000000000 -0400
@@ -0,0 +1,41 @@
+Bug#: 60066
+Product: Mono: Class Libraries
+Version: unspecified
+OS: All
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Minor
+Component: Sys.XML
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: chengxie@telus.net               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: When 'ValidationType' set to 'Schema', 'System.Xml.XmlValidatingReader' behaves differently compare to MS version
+
+Please fill in this template when reporting a bug, unless you know what 
+you are doing.
+Description of Problem:
+
+
+Steps to reproduce the problem:
+1.Create a xml file with a invalid SchemaLocation 
+2.In C# code, Construct a 'XmlValidatingReader' object to read the file 
+created in step 1
+2. Set member 'ValidationType' to 'ValidationType.Schema'
+3. Use XmlDocument.Load() method to load from ''XmlValidatingReader' object
+
+Actual Results:
+xml file can be loaded without error
+
+Expected Results:
+Schema validating failure exception
+
+How often does this happen? 
+Always.
+
+Additional Information:
+Both v1.0.5000.0 and v2.0.3600.0 of system.xml.dll have this issue