Author: martin
Date: 2007-12-07 20:45:16 -0500 (Fri, 07 Dec 2007)
New Revision: 90981

Modified:
   trunk/debugger/classes/DebuggerConfiguration.cs
   trunk/debugger/classes/DebuggerConfiguration.xsd
Log:
Small fix.

Modified: trunk/debugger/classes/DebuggerConfiguration.cs
===================================================================
--- trunk/debugger/classes/DebuggerConfiguration.cs     2007-12-08 00:59:10 UTC 
(rev 90980)
+++ trunk/debugger/classes/DebuggerConfiguration.cs     2007-12-08 01:45:16 UTC 
(rev 90981)
@@ -76,7 +76,7 @@
                        XmlValidatingReader reader = new XmlValidatingReader 
(new XmlTextReader (stream));
                        Assembly ass = Assembly.GetExecutingAssembly ();
                        using (Stream schema = ass.GetManifestResourceStream 
("DebuggerConfiguration"))
-                               reader.Schemas.Add ("", new XmlTextReader 
(schema));
+                               reader.Schemas.Add (null, new XmlTextReader 
(schema));
 
                        XPathDocument doc = new XPathDocument (reader);
                        XPathNavigator nav = doc.CreateNavigator ();

Modified: trunk/debugger/classes/DebuggerConfiguration.xsd
===================================================================
--- trunk/debugger/classes/DebuggerConfiguration.xsd    2007-12-08 00:59:10 UTC 
(rev 90980)
+++ trunk/debugger/classes/DebuggerConfiguration.xsd    2007-12-08 01:45:16 UTC 
(rev 90981)
@@ -1,12 +1,12 @@
 <?xml version="1.0" standalone="yes"?>
 <xs:schema id="DebuggerConfiguration" xmlns="" 
xmlns:xs="http://www.w3.org/2001/XMLSchema";>
   <xs:complexType name="Configuration">
-    <xs:sequence>
+    <xs:choice maxOccurs="unbounded">
       <xs:element name="LoadNativeSymtabs" type="xs:boolean" minOccurs="0" 
maxOccurs="1" />
-      <xs:element name="FollowFork" type="xs:boolean" minOccurs="0" 
maxOccurs="1" />
       <xs:element name="BrokenThreading" type="xs:boolean" minOccurs="0" 
maxOccurs="1" />
       <xs:element name="StayInThread" type="xs:boolean" minOccurs="0" 
maxOccurs="1" />
-    </xs:sequence>
+      <xs:element name="FollowFork" type="xs:boolean" minOccurs="0" 
maxOccurs="1" />
+    </xs:choice>
   </xs:complexType>
   <xs:complexType name="Options">
     <xs:choice maxOccurs="unbounded">

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to