get { return true; }
}
+ internal override void SetParent (XmlSchemaObject parent)
+ {
+ base.SetParent (parent);
+ if (Particle != null)
+ Particle.SetParent (this);
+ if (AnyAttribute != null)
+ AnyAttribute.SetParent (this);
+ foreach (XmlSchemaObject obj in Attributes)
+ obj.SetParent (this);
+ }
+
/// <remarks>
/// </remarks>
internal override int Compile(ValidationEventHandler h, XmlSchema schema)
if (CompilationId == schema.CompilationId)
return 0;
-#if NET_2_0
- if (Particle != null)
- Particle.Parent = this;
- if (AnyAttribute != null)
- AnyAttribute.Parent = this;
- foreach (XmlSchemaObject obj in Attributes)
- obj.Parent = this;
-#endif
-
if (this.isRedefinedComponent) {
if (Annotation != null)
Annotation.isRedefinedComponent = true;