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