+2004-01-15 Atsushi Enomoto <atsushi@ximian.com>
+
+ * XsdValidatingReader.cs : Now use ValidatableParticle instead of
+ ContentTypeParticle. Use BaseXmlSchemaType.
+
2004-01-14 Atsushi Enomoto <atsushi@ximian.com>
* XsdIdentityState.cs :
* be restriction?
* */
// mmm, will check later.
- XmlSchemaSimpleType baseType = str.ActualBaseSchemaType as XmlSchemaSimpleType;
+ XmlSchemaSimpleType baseType = st.BaseXmlSchemaType as XmlSchemaSimpleType;
if (baseType != null) {
AssessStringValid(baseType, dt, normalized);
}
// Finally, create child particle state.
XmlSchemaComplexType xsComplexType = SchemaType as XmlSchemaComplexType;
if (xsComplexType != null)
- childParticleState = stateManager.Create (xsComplexType.ContentTypeParticle);
+ childParticleState = stateManager.Create (xsComplexType.ValidatableParticle);
else if (stateManager.ProcessContents == XmlSchemaContentProcessing.Lax)
childParticleState = stateManager.Create (XmlSchemaAny.AnyTypeContent);
else