36 references to Warning
System.Private.Xml (36)
System\Xml\Schema\DtdValidator.cs (1)
101
SendValidationEvent(SR.Xml_NoDTDPresent, _name.ToString(), XmlSeverityType.
Warning
);
System\Xml\Schema\Preprocessor.cs (6)
329
SendValidationEvent(new XmlSchemaException(SR.Sch_InvalidIncludeLocation, null, innerException, include.SourceUri, include.LineNumber, include.LinePosition, include), XmlSeverityType.
Warning
);
379
SendValidationEvent(SR.Sch_InvalidIncludeLocation, include, XmlSeverityType.
Warning
);
399
SendValidationEvent(new XmlSchemaException(SR.Sch_InvalidIncludeLocation, null, eInner, include.SourceUri, include.LineNumber, include.LinePosition, include), XmlSeverityType.
Warning
);
409
SendValidationEvent(new XmlSchemaException(SR.Sch_InvalidIncludeLocation, null, innerException, include.SourceUri, include.LineNumber, include.LinePosition, include), XmlSeverityType.
Warning
);
828
SendValidationEvent(SR.Sch_MultipleRedefine, redefine, XmlSeverityType.
Warning
);
2109
SendValidationEvent(SR.Sch_UnrefNS, value.Namespace, xso, XmlSeverityType.
Warning
);
System\Xml\Schema\SchemaCollectionCompiler.cs (6)
1061
SendValidationEvent(SR.Sch_EmptyChoice, choice, XmlSeverityType.
Warning
);
1165
SendValidationEvent(SR.Sch_EmptyChoice, groupRef, XmlSeverityType.
Warning
);
1264
SendValidationEvent(SR.Sch_EmptyChoice, oldChoice, XmlSeverityType.
Warning
);
1810
SendValidationEvent(SR.Sch_AttributeIgnored, attribute.QualifiedName.ToString(), attribute, XmlSeverityType.
Warning
);
1836
SendValidationEvent(SR.Sch_AttributeIgnored, attributeValue.QualifiedName.ToString(), attributeValue, XmlSeverityType.
Warning
);
2416
SendValidationEvent(SR.Sch_ComplexContentModel, complexType, XmlSeverityType.
Warning
);
System\Xml\Schema\SchemaCollectionpreProcessor.cs (3)
244
SendValidationEvent(SR.Sch_InvalidIncludeLocation, include, XmlSeverityType.
Warning
);
253
SendValidationEvent(SR.Sch_InvalidIncludeLocation, include, XmlSeverityType.
Warning
);
1764
SendValidationEvent(SR.Sch_UnrefNS, value.Namespace, xso, XmlSeverityType.
Warning
);
System\Xml\Schema\SchemaSetCompiler.cs (6)
1190
SendValidationEvent(SR.Sch_EmptyChoice, choice, XmlSeverityType.
Warning
);
1306
SendValidationEvent(SR.Sch_EmptyChoice, groupRef, XmlSeverityType.
Warning
);
1397
SendValidationEvent(SR.Sch_EmptyChoice, oldChoice, XmlSeverityType.
Warning
);
2170
SendValidationEvent(SR.Sch_AttributeIgnored, attr.QualifiedName.ToString(), attr, XmlSeverityType.
Warning
);
2196
SendValidationEvent(SR.Sch_AttributeIgnored, attribute.QualifiedName.ToString(), attribute, XmlSeverityType.
Warning
);
2885
SendValidationEvent(SR.Sch_ComplexContentModel, complexType, XmlSeverityType.
Warning
);
System\Xml\Schema\XdrBuilder.cs (1)
534
SendValidationEvent(SR.Sch_CannotLoadSchema, new string[] { uri, e.Message }, XmlSeverityType.
Warning
);
System\Xml\Schema\XdrValidator.cs (2)
360
SendValidationEvent(SR.Sch_CannotLoadSchema, new string[] { uri, e.Message }, XmlSeverityType.
Warning
);
450
SendValidationEvent(new XmlSchemaException(SR.Xml_NoValidation, string.Empty), XmlSeverityType.
Warning
);
System\Xml\Schema\XmlSchemaSet.cs (1)
447
SendValidationEvent(new XmlSchemaException(SR.Sch_SchemaNotRemoved, string.Empty), XmlSeverityType.
Warning
);
System\Xml\Schema\XmlSchemaValidator.cs (7)
547
SendValidationEvent(SR.Sch_NoAttributeSchemaFound, attQName.ToString(), XmlSeverityType.
Warning
);
651
SendValidationEvent(SR.Sch_NoAttributeSchemaFound, attQName.ToString(), XmlSeverityType.
Warning
);
1687
XmlSeverityType severity = XmlSeverityType.
Warning
;
1752
SendValidationEvent(SR.Sch_NoElementSchemaFound, QNameString(_context.LocalName!, _context.Namespace!), XmlSeverityType.
Warning
);
1861
SendValidationEvent(SR.Sch_CannotLoadSchema, new string[] { uri, e.Message }, e, XmlSeverityType.
Warning
);
2824
if (severity != XmlSeverityType.
Warning
|| ReportValidationWarnings)
2847
if (severity != XmlSeverityType.
Warning
|| ReportValidationWarnings)
System\Xml\Schema\XsdValidator.cs (3)
237
SendValidationEvent(SR.Sch_NoElementSchemaFound, XmlSchemaValidator.QNameString(context!.LocalName!, context.Namespace!), XmlSeverityType.
Warning
);
519
SendValidationEvent(SR.Sch_NoAttributeSchemaFound, attQName.ToString(), XmlSeverityType.
Warning
);
609
SendValidationEvent(SR.Sch_CannotLoadSchema, new string[] { uri, e.Message }, XmlSeverityType.
Warning
);