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