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