2005-01-13 Atsushi Enomoto <atsushi@ximian.com>
[mono.git] / mcs / class / System.XML / System.Xml.Schema / XmlSchemaGroup.cs
index 4849ddb2de47686f5ee477a358b092616724fdc5..d308b3f8668b50f35bc85bd68177808d1ac2ff93 100755 (executable)
@@ -47,6 +47,7 @@ namespace System.Xml.Schema
 \r
                public XmlSchemaGroup()\r
                {\r
+                       qualifiedName = XmlQualifiedName.Empty;\r
                }\r
 \r
                [System.Xml.Serialization.XmlAttribute("name")]\r
@@ -66,7 +67,11 @@ namespace System.Xml.Schema
                }\r
 \r
                [XmlIgnore]\r
+#if NET_2_0\r
+               public XmlQualifiedName QualifiedName \r
+#else\r
                internal XmlQualifiedName QualifiedName \r
+#endif\r
                {\r
                        get{ return qualifiedName;}\r
                }\r
@@ -84,6 +89,11 @@ namespace System.Xml.Schema
                        if (this.IsComplied (schema.CompilationId))\r
                                return 0;\r
 \r
+#if NET_2_0\r
+                       if (Particle != null)\r
+                               Particle.Parent = this;\r
+#endif\r
+\r
                        if(Name == null)\r
                                error(h,"Required attribute name must be present");\r
                        else if(!XmlSchemaUtil.CheckNCName(this.name)) \r