108 references to SendValidationEvent
System.Private.Xml (108)
System\Xml\Schema\BaseProcessor.cs (1)
148SendValidationEvent(code, qname.ToString(), item);
System\Xml\Schema\Preprocessor.cs (33)
570SendValidationEvent(SR.Sch_MissRequiredAttribute, "schemaLocation", include); 600SendValidationEvent(SR.Sch_InvalidNamespaceAttribute, importNS, include); 1156SendValidationEvent(SR.Sch_MissRequiredAttribute, "name", attribute); 1160SendValidationEvent(SR.Sch_ForbiddenAttribute, "use", attribute); 1164SendValidationEvent(SR.Sch_ForbiddenAttribute, "form", attribute); 1183SendValidationEvent(SR.Sch_AttributeNameRef, "???", attribute); 1214SendValidationEvent(SR.Sch_ForbiddenAttribute, "ref", attribute); 1252SendValidationEvent(SR.Sch_MissRequiredAttribute, "name", attributeGroup); 1268SendValidationEvent(SR.Sch_MissRequiredAttribute, "name", element); 1297SendValidationEvent(SR.Sch_ForbiddenAttribute, "form", element); 1301SendValidationEvent(SR.Sch_ForbiddenAttribute, "minOccurs", element); 1305SendValidationEvent(SR.Sch_ForbiddenAttribute, "maxOccurs", element); 1358SendValidationEvent(SR.Sch_ForbiddenAttribute, "abstract", element); 1362SendValidationEvent(SR.Sch_ForbiddenAttribute, "final", element); 1366SendValidationEvent(SR.Sch_ForbiddenAttribute, "substitutionGroup", element); 1376SendValidationEvent(SR.Sch_ForbiddenAttribute, "ref", element); 1445SendValidationEvent(SR.Sch_MissRequiredAttribute, "name", constraint); 1451SendValidationEvent(SR.Sch_DupIdentityConstraint, constraint.QualifiedName.ToString(), constraint); 1504SendValidationEvent(SR.Sch_ForbiddenAttribute, "name", simpleType); 1516SendValidationEvent(SR.Sch_MissRequiredAttribute, "name", simpleType); 1643SendValidationEvent(SR.Sch_ForbiddenAttribute, "name", complexType); 1655SendValidationEvent(SR.Sch_MissRequiredAttribute, "name", complexType); 1728SendValidationEvent(SR.Sch_MissAttribute, "base", contentExtension); 1742SendValidationEvent(SR.Sch_MissAttribute, "base", contentRestriction); 1786SendValidationEvent(SR.Sch_MissAttribute, "base", contentExtension); 1805SendValidationEvent(SR.Sch_MissAttribute, "base", contentRestriction); 1846SendValidationEvent(SR.Sch_MissRequiredAttribute, "name", group); 1855SendValidationEvent(SR.Sch_ForbiddenAttribute, "minOccurs", group.Particle); 1859SendValidationEvent(SR.Sch_ForbiddenAttribute, "maxOccurs", group.Particle); 1876SendValidationEvent(SR.Sch_MissRequiredAttribute, "name", notation); 1978SendValidationEvent(SR.Sch_MissAttribute, "ref", groupRef); 2016SendValidationEvent(SR.Sch_MissAttribute, "ref", attributeGroupRef); 2059SendValidationEvent(SR.Sch_InvalidIdAttribute, SR.Sch_NullValue, xso);
System\Xml\Schema\SchemaCollectionCompiler.cs (15)
452SendValidationEvent(SR.Sch_InvalidExamplar, examplar.Name, examplar); 816SendValidationEvent(SR.Sch_UndeclaredType, simpleExtension.BaseTypeName.ToString(), complexType); 855SendValidationEvent(SR.Sch_UndefBaseRestriction, simpleRestriction.BaseTypeName.ToString(), simpleRestriction); 938SendValidationEvent(SR.Sch_UndefBaseExtension, complexExtension.BaseTypeName.ToString(), complexExtension); 1004SendValidationEvent(SR.Sch_UndefBaseRestriction, complexRestriction.BaseTypeName.ToString(), complexRestriction); 1136SendValidationEvent(SR.Sch_UndefGroupRef, groupRef.RefName.ToString(), groupRef); 1152SendValidationEvent(SR.Sch_AllRefNotRoot, "", groupRef); 1742SendValidationEvent(SR.Sch_DupAttributeUse, attribute.QualifiedName.ToString(), attribute); 1768SendValidationEvent(SR.Sch_DupAttributeUse, attributeValue.QualifiedName.ToString(), attributeValue); 1776SendValidationEvent(SR.Sch_UndefAttributeGroupRef, attributeGroupRef.RefName.ToString(), attributeGroupRef); 1805SendValidationEvent(SR.Sch_DupAttributeUse, attribute.QualifiedName.ToString(), attribute); 1831SendValidationEvent(SR.Sch_DupAttributeUse, attributeValue.QualifiedName.ToString(), attributeGroupRef); 1843SendValidationEvent(SR.Sch_UndefAttributeGroupRef, attributeGroupRef.RefName.ToString(), attributeGroupRef); 2374SendValidationEvent(SR.Sch_DupElement, localElement.QualifiedName.ToString(), localElement); 2394SendValidationEvent(SR.Sch_NonDeterministic, ((XmlSchemaElement)e.Particle1).QualifiedName.ToString(), (XmlSchemaElement)e.Particle2);
System\Xml\Schema\SchemaCollectionpreProcessor.cs (40)
310SendValidationEvent(SR.Sch_InvalidNamespace, schema.TargetNamespace, schema); 323SendValidationEvent(SR.Sch_AttributeValueDataType, "version", schema); 374SendValidationEvent(SR.Sch_InvalidSchemaLocation, loc, include); 379SendValidationEvent(SR.Sch_MissRequiredAttribute, "schemaLocation", include); 411SendValidationEvent(SR.Sch_InvalidNamespaceAttribute, ns, include); 421SendValidationEvent(SR.Sch_InvalidNamespace, ns, include); 830SendValidationEvent(SR.Sch_MissRequiredAttribute, "name", attribute); 834SendValidationEvent(SR.Sch_ForbiddenAttribute, "use", attribute); 838SendValidationEvent(SR.Sch_ForbiddenAttribute, "form", attribute); 857SendValidationEvent(SR.Sch_AttributeNameRef, "???", attribute); 886SendValidationEvent(SR.Sch_ForbiddenAttribute, "ref", attribute); 924SendValidationEvent(SR.Sch_MissRequiredAttribute, "name", attributeGroup); 941SendValidationEvent(SR.Sch_MissRequiredAttribute, "name", element); 970SendValidationEvent(SR.Sch_ForbiddenAttribute, "form", element); 974SendValidationEvent(SR.Sch_ForbiddenAttribute, "minOccurs", element); 978SendValidationEvent(SR.Sch_ForbiddenAttribute, "maxOccurs", element); 1031SendValidationEvent(SR.Sch_ForbiddenAttribute, "abstract", element); 1035SendValidationEvent(SR.Sch_ForbiddenAttribute, "final", element); 1039SendValidationEvent(SR.Sch_ForbiddenAttribute, "substitutionGroup", element); 1049SendValidationEvent(SR.Sch_ForbiddenAttribute, "ref", element); 1116SendValidationEvent(SR.Sch_MissRequiredAttribute, "name", constraint); 1122SendValidationEvent(SR.Sch_DupIdentityConstraint, constraint.QualifiedName.ToString(), constraint); 1171SendValidationEvent(SR.Sch_ForbiddenAttribute, "name", simpleType); 1183SendValidationEvent(SR.Sch_MissRequiredAttribute, "name", simpleType); 1308SendValidationEvent(SR.Sch_ForbiddenAttribute, "name", complexType); 1320SendValidationEvent(SR.Sch_MissRequiredAttribute, "name", complexType); 1393SendValidationEvent(SR.Sch_MissAttribute, "base", contentExtension); 1407SendValidationEvent(SR.Sch_MissAttribute, "base", contentRestriction); 1451SendValidationEvent(SR.Sch_MissAttribute, "base", contentExtension); 1470SendValidationEvent(SR.Sch_MissAttribute, "base", contentRestriction); 1510SendValidationEvent(SR.Sch_MissRequiredAttribute, "name", group); 1519SendValidationEvent(SR.Sch_ForbiddenAttribute, "minOccurs", group.Particle); 1523SendValidationEvent(SR.Sch_ForbiddenAttribute, "maxOccurs", group.Particle); 1540SendValidationEvent(SR.Sch_MissRequiredAttribute, "name", notation); 1550SendValidationEvent(SR.Sch_InvalidPublicAttribute, notation.Public, notation); 1555SendValidationEvent(SR.Sch_MissRequiredAttribute, "public", notation); 1565SendValidationEvent(SR.Sch_InvalidSystemAttribute, notation.System, notation); 1646SendValidationEvent(SR.Sch_MissAttribute, "ref", groupRef); 1684SendValidationEvent(SR.Sch_MissAttribute, "ref", attributeGroupRef); 1728SendValidationEvent(SR.Sch_InvalidIdAttribute, ex.Message, xso);
System\Xml\Schema\SchemaSetCompiler.cs (19)
510SendValidationEvent(SR.Sch_InvalidExamplar, examplar.Name, examplar); 894SendValidationEvent(SR.Sch_UndeclaredType, simpleExtension.BaseTypeName.ToString(), simpleExtension); 935SendValidationEvent(SR.Sch_UndefBaseRestriction, simpleRestriction.BaseTypeName.ToString(), simpleRestriction); 1021SendValidationEvent(SR.Sch_UndefBaseExtension, complexExtension.BaseTypeName.ToString(), complexExtension); 1092SendValidationEvent(SR.Sch_UndefBaseRestriction, complexRestriction.BaseTypeName.ToString(), complexRestriction); 1111SendValidationEvent(SR.Sch_InvalidContentRestrictionDetailed, SR.Sch_InvalidBaseToEmpty, complexType); 1118SendValidationEvent(SR.Sch_InvalidContentRestrictionDetailed, SR.Sch_InvalidBaseToMixed, complexType); 1137SendValidationEvent(SR.Sch_InvalidParticleRestrictionDetailed, _restrictionErrorMsg, complexType); 1173SendValidationEvent(SR.Sch_InvalidParticleRestrictionDetailed, _restrictionErrorMsg, derivedParticle); 1273SendValidationEvent(SR.Sch_UndefGroupRef, groupRef.RefName.ToString(), groupRef); 1292SendValidationEvent(SR.Sch_AllRefNotRoot, "", groupRef); 2097SendValidationEvent(SR.Sch_DupAttributeUse, attr.QualifiedName.ToString(), attr); 2124SendValidationEvent(SR.Sch_DupAttributeUse, attribute.QualifiedName.ToString(), attribute); 2132SendValidationEvent(SR.Sch_UndefAttributeGroupRef, attributeGroupRef.RefName.ToString(), attributeGroupRef); 2165SendValidationEvent(SR.Sch_DupAttributeUse, attr.QualifiedName.ToString(), attr); 2191SendValidationEvent(SR.Sch_DupAttributeUse, attribute.QualifiedName.ToString(), attributeGroupRef); 2204SendValidationEvent(SR.Sch_UndefAttributeGroupRef, attributeGroupRef.RefName.ToString(), attributeGroupRef); 2843SendValidationEvent(SR.Sch_DupElement, localElement.QualifiedName.ToString(), localElement); 2863SendValidationEvent(SR.Sch_NonDeterministic, ((XmlSchemaElement)e.Particle1).QualifiedName.ToString(), (XmlSchemaElement)e.Particle2);