* XmlSchemaComplexType.cs : Set basetype as ur-type for such complex type that has an immediate Particle (W3C specified as restriction of ur-type). svn path=/trunk/mcs/; revision=26084
@@ -1,3 +1,9 @@
+2004-04-27 Atsushi Enomoto <[email protected]>
+
+ * XmlSchemaComplexType.cs : Set basetype as ur-type for such complex
+ type that has an immediate Particle (W3C specified as restriction
+ of ur-type).
2004-04-27 Atsushi Enomoto <[email protected]>
* XmlSchemaAttribute.cs : When type was inline simple type, it is not
@@ -436,6 +436,8 @@ namespace System.Xml.Schema
else
resolvedContentType = XmlSchemaContentType.ElementOnly;
}
+ if (this != AnyType)
+ BaseXmlSchemaTypeInternal = XmlSchemaComplexType.AnyType;
private void CollectContentTypeFromContentModel (ValidationEventHandler h, XmlSchema schema)