41 references to SendValidationEvent
System.Private.Xml (41)
System\Xml\Schema\BaseValidator.cs (6)
176
SendValidationEvent
(SR.Sch_ContentInNill, XmlSchemaValidator.QNameString(context.LocalName!, context.Namespace!));
187
SendValidationEvent
(SR.Sch_InvalidTextInElement, XmlSchemaValidator.BuildElementName(context.LocalName!, context.Namespace!));
197
SendValidationEvent
(SR.Sch_InvalidTextInEmpty, string.Empty);
215
SendValidationEvent
(SR.Sch_ContentInNill, XmlSchemaValidator.QNameString(context.LocalName!, context.Namespace!));
220
SendValidationEvent
(SR.Sch_InvalidWhitespaceInEmpty, string.Empty);
252
SendValidationEvent
(code, string.Empty);
System\Xml\Schema\DtdValidator.cs (9)
202
SendValidationEvent
(SR.Sch_UndeclaredAttribute, reader.Name);
253
SendValidationEvent
(SR.Sch_UndeclaredElement, XmlSchemaValidator.QNameString(context!.LocalName!, context.Namespace!));
312
SendValidationEvent
(SR.Sch_DupId, name);
382
SendValidationEvent
(SR.Sch_NotationValue, typedValue.ToString());
386
SendValidationEvent
(SR.Sch_EnumerationValue, typedValue.ToString());
393
SendValidationEvent
(SR.Sch_FixedAttributeValue, attdef!.Name.ToString());
397
SendValidationEvent
(SR.Sch_FixedElementValue, XmlSchemaValidator.QNameString(context!.LocalName!, context.Namespace!));
405
SendValidationEvent
(SR.Sch_AttributeValueDataType, attdef.Name.ToString());
409
SendValidationEvent
(SR.Sch_ElementValueDataType, XmlSchemaValidator.QNameString(context!.LocalName!, context.Namespace!));
System\Xml\Schema\XdrValidator.cs (10)
232
SendValidationEvent
(SR.Sch_UndeclaredElement, XmlSchemaValidator.QNameString(context.LocalName!, context.Namespace!));
419
SendValidationEvent
(SR.Sch_DupId, name);
507
SendValidationEvent
(SR.Sch_MaxLengthConstraintFailed, value);
514
SendValidationEvent
(SR.Sch_MinLengthConstraintFailed, value);
521
SendValidationEvent
(SR.Sch_NotationValue, typedValue.ToString());
525
SendValidationEvent
(SR.Sch_EnumerationValue, typedValue.ToString());
532
SendValidationEvent
(SR.Sch_FixedAttributeValue, attdef!.Name.ToString());
536
SendValidationEvent
(SR.Sch_FixedElementValue, XmlSchemaValidator.QNameString(context!.LocalName!, context.Namespace!));
544
SendValidationEvent
(SR.Sch_AttributeValueDataType, attdef.Name.ToString());
548
SendValidationEvent
(SR.Sch_ElementValueDataType, XmlSchemaValidator.QNameString(context!.LocalName!, context.Namespace!));
System\Xml\Schema\XsdValidator.cs (16)
195
SendValidationEvent
(SR.Sch_ContentInNill, elementName.ToString());
204
SendValidationEvent
(SR.Sch_AllElement, elementName.ToString());
233
SendValidationEvent
(SR.Sch_UndeclaredElement, XmlSchemaValidator.QNameString(context!.LocalName!, context.Namespace!));
389
SendValidationEvent
(SR.Sch_AbstractElement, XmlSchemaValidator.QNameString(context!.LocalName!, context.Namespace!));
410
SendValidationEvent
(SR.Sch_XsiTypeNotFound, xsiType.ToString());
448
SendValidationEvent
(SR.Sch_AbstractElement, XmlSchemaValidator.QNameString(context.LocalName!, context.Namespace!));
515
SendValidationEvent
(SR.Sch_UndeclaredAttribute, attQName.ToString());
664
SendValidationEvent
(SR.Sch_DupId, name);
726
SendValidationEvent
(SR.Sch_FixedAttributeValue, attdef!.Name.ToString());
730
SendValidationEvent
(SR.Sch_FixedElementValue, XmlSchemaValidator.QNameString(context!.LocalName!, context.Namespace!));
743
SendValidationEvent
(SR.Sch_AttributeValueDataType, attdef.Name.ToString());
747
SendValidationEvent
(SR.Sch_ElementValueDataType, XmlSchemaValidator.QNameString(context!.LocalName!, context.Namespace!));
896
SendValidationEvent
(SR.Sch_RefNotInScope, XmlSchemaValidator.QNameString(context.LocalName!, context.Namespace!));
946
SendValidationEvent
(SR.Sch_FieldSimpleTypeExpected, reader.LocalName);
994
SendValidationEvent
(SR.Sch_FieldSingleValueExpected, name);
1048
SendValidationEvent
(SR.Sch_FieldSingleValueExpected, reader.LocalName);