[Mono-bugs] [Bug 58702][Nor] Changed - An exception is thrown when trying to load and validate a XML document with XSD schema.

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 19 May 2004 11:12:06 -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 atsushi@ximian.com.

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

--- shadow/58702	2004-05-19 09:35:43.000000000 -0400
+++ shadow/58702.tmp.7223	2004-05-19 11:12:06.000000000 -0400
@@ -1,12 +1,12 @@
 Bug#: 58702
 Product: Mono: Class Libraries
 Version: unspecified
 OS: All
 OS Details: 
-Status: NEW   
+Status: NEEDINFO   
 Resolution: 
 Severity: Unknown
 Priority: Normal
 Component: Sys.XML
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: oferb@mainsoft.com               
@@ -59,6 +59,36 @@
 http://java.sun.com/developer/codesamples/webservices.html#Performance)
 
 ------- Additional Comments From oferb@mainsoft.com  2004-05-19 09:35 -------
 Created an attachment (id=7763)
 source code example and XML with XSD
 
+
+------- Additional Comments From atsushi@ximian.com  2004-05-19 11:12 -------
+The attached code didn't compile, so I modified a bit:
+
+using System;
+using System.Xml;
+public class Test
+{
+        System.Xml.XmlReader reader = null;
+        public static void Main ()
+        {
+                new Test ().run ();
+        }
+
+        public void run ()
+        {
+                String schemaSource = @"docs\sm-inv.xsd";
+                String xmlSource = @"docs\inv100.xml";
+
+...
+
+}
+
+It didn't complained on both Mono and MS.NET.
+
+
+> tried to access method clr.System.ObjectStaticWrapper.clone
+
+This line didn't look the usual System.Xml matter. Maybe the similar
+error happens if you use different schema document on the net.