private bool IsPhysicalType( string nameSpace, string localName, string propertyName )
{
bool isPhysicalType = false;
XmlSchemaAttribute schemaAttribute;
SchemaManager.FindAttribute(nameSpace, localName, propertyName, out schemaAttribute);
string typeName = "";
if (schemaAttribute != null)
{
XmlSchemaSimpleType simpleType = schemaAttribute.AttributeSchemaType;
isPhysicalType = SchemaManager.IsPhysicalType(simpleType);
}
return isPhysicalType;
}