private void CheckTokenizedTypes(XmlSchemaDatatype dtype, object typedValue, bool attrValue)
{
// Check special types
if (typedValue == null)
{
return;
}
XmlTokenizedType ttype = dtype.TokenizedType;
if (ttype == XmlTokenizedType.ENTITY || ttype == XmlTokenizedType.ID || ttype == XmlTokenizedType.IDREF)
{
if (dtype.Variety == XmlSchemaDatatypeVariety.List)
{
string[] ss = (string[])typedValue;
for (int i = 0; i < ss.Length; ++i)
{
ProcessTokenizedType(dtype.TokenizedType, ss[i], attrValue);
}
}
else
{
ProcessTokenizedType(dtype.TokenizedType, (string)typedValue, attrValue);
}
}
}