if (this.IsComplied (schema.CompilationId))\r
return 0;\r
\r
+#if NET_2_0\r
+ if (Particle != null)\r
+ Particle.Parent = this;\r
+ if (AnyAttribute != null)\r
+ AnyAttribute.Parent = this;\r
+ foreach (XmlSchemaObject obj in Attributes)\r
+ obj.Parent = this;\r
+#endif\r
+\r
if (this.isRedefinedComponent) {\r
if (Annotation != null)\r
Annotation.isRedefinedComponent = true;\r