private void ValidateQNameAttribute(XmlSchemaObject xso, string attributeName, XmlQualifiedName value) {
try {
value.Verify();
value.Atomize(NameTable);
if(referenceNamespaces[value.Namespace] == null) {
SendValidationEvent(Res.Sch_UnrefNS,value.Namespace,xso, XmlSeverityType.Warning);
}
}
catch (Exception ex){
SendValidationEvent(Res.Sch_InvalidAttribute, attributeName, ex.Message, xso);
}
}