فهرست منبع

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).

svn path=/trunk/mcs/; revision=26084
Atsushi Eno 22 سال پیش
والد
کامیت
e4ff98d731

+ 6 - 0
mcs/class/System.XML/System.Xml.Schema/ChangeLog

@@ -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

+ 2 - 0
mcs/class/System.XML/System.Xml.Schema/XmlSchemaComplexType.cs

@@ -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)