108 references to XmlSchemaException
dotnet-svcutil-lib (108)
FrameworkFork\Microsoft.Xml\Xml\schema\AstTree.cs (10)
571
throw new
XmlSchemaException
(ResXml.Sch_EmptyXPath, string.Empty);
593
throw new
XmlSchemaException
(ResXml.Sch_ICXpathError, xPath);
606
throw new
XmlSchemaException
(ResXml.Sch_ICXpathError, xPath);
617
throw new
XmlSchemaException
(ResXml.Sch_SelectorAttr, xPath);
628
throw new
XmlSchemaException
(ResXml.Sch_ICXpathError, xPath);
656
throw new
XmlSchemaException
(ResXml.Sch_ICXpathError, xPath);
677
throw new
XmlSchemaException
(ResXml.Sch_ICXpathError, xPath);
685
throw new
XmlSchemaException
(ResXml.Sch_ICXpathError, xPath);
689
throw new
XmlSchemaException
(ResXml.Sch_ICXpathError, xPath);
720
throw new
XmlSchemaException
(ResXml.Sch_UnresolvedPrefix, axis.Prefix);
FrameworkFork\Microsoft.Xml\Xml\schema\DatatypeImplementation.cs (13)
391
throw new
XmlSchemaException
(ResXml.Sch_ListFromNonatomic, string.Empty);
395
throw new
XmlSchemaException
(ResXml.Sch_ListFromNonatomic, string.Empty);
1166
return new
XmlSchemaException
(ResXml.Sch_EmptyAttributeValue, string.Empty);
1289
exception = new
XmlSchemaException
(ResXml.Sch_UnionFailedEx, s);
1329
exception = new
XmlSchemaException
(ResXml.Sch_UnionFailedEx, value.ToString());
1923
return new
XmlSchemaException
(ResXml.Sch_EmptyAttributeValue, string.Empty);
1954
return new
XmlSchemaException
(ResXml.Sch_EmptyAttributeValue, string.Empty);
1993
return new
XmlSchemaException
(ResXml.Sch_EmptyAttributeValue, string.Empty);
2764
return new
XmlSchemaException
(ResXml.Sch_EmptyAttributeValue, string.Empty);
3100
return new
XmlSchemaException
(ResXml.Sch_EmptyAttributeValue, string.Empty);
3777
throw new
XmlSchemaException
(ResXml.Sch_InvalidValue, s);
3798
throw new
XmlSchemaException
(ResXml.Sch_InvalidValue, s);
3815
throw new
XmlSchemaException
(ResXml.Sch_EmptyAttributeValue, string.Empty);
FrameworkFork\Microsoft.Xml\Xml\schema\dtdvalidator.cs (2)
556
XmlSchemaException e = new
XmlSchemaException
(ResXml.Sch_AttributeDefaultDataType, attdef.Name.ToString());
621
XmlSchemaException e = new
XmlSchemaException
(ResXml.Sch_AttributeDefaultDataType, attdef.Name.ToString());
FrameworkFork\Microsoft.Xml\Xml\schema\FacetChecker.cs (63)
320
throw new
XmlSchemaException
(ResXml.Sch_TotalDigitsMismatch, string.Empty);
340
throw new
XmlSchemaException
(ResXml.Sch_TotalDigitsMismatch, string.Empty);
385
throw new
XmlSchemaException
(ResXml.Sch_MaxInclusiveMismatch, string.Empty);
392
throw new
XmlSchemaException
(ResXml.Sch_MaxIncExlMismatch, string.Empty);
402
throw new
XmlSchemaException
(ResXml.Sch_MaxExclusiveMismatch, string.Empty);
409
throw new
XmlSchemaException
(ResXml.Sch_MaxExlIncMismatch, string.Empty);
419
throw new
XmlSchemaException
(ResXml.Sch_MinInclusiveMismatch, string.Empty);
426
throw new
XmlSchemaException
(ResXml.Sch_MinIncExlMismatch, string.Empty);
433
throw new
XmlSchemaException
(ResXml.Sch_MinIncMaxExlMismatch, string.Empty);
443
throw new
XmlSchemaException
(ResXml.Sch_MinExclusiveMismatch, string.Empty);
450
throw new
XmlSchemaException
(ResXml.Sch_MinExlIncMismatch, string.Empty);
457
throw new
XmlSchemaException
(ResXml.Sch_MinExlMaxExlMismatch, string.Empty);
477
throw new
XmlSchemaException
(ResXml.Sch_MaxInclusiveExclusive, string.Empty);
484
throw new
XmlSchemaException
(ResXml.Sch_MinInclusiveExclusive, string.Empty);
491
throw new
XmlSchemaException
(ResXml.Sch_LengthAndMinMax, string.Empty);
504
throw new
XmlSchemaException
(ResXml.Sch_MinLengthGtMaxLength, string.Empty);
516
throw new
XmlSchemaException
(ResXml.Sch_MinInclusiveGtMaxInclusive, string.Empty);
526
throw new
XmlSchemaException
(ResXml.Sch_MinInclusiveGtMaxExclusive, string.Empty);
536
throw new
XmlSchemaException
(ResXml.Sch_MinExclusiveGtMaxExclusive, string.Empty);
546
throw new
XmlSchemaException
(ResXml.Sch_MinExclusiveGtMaxInclusive, string.Empty);
553
throw new
XmlSchemaException
(ResXml.Sch_FractionDigitsGtTotalDigits, string.Empty);
885
return new
XmlSchemaException
(ResXml.Sch_PatternConstraintFailed, string.Empty);
1029
return new
XmlSchemaException
(ResXml.Sch_MaxInclusiveConstraintFailed, string.Empty);
1037
return new
XmlSchemaException
(ResXml.Sch_MaxExclusiveConstraintFailed, string.Empty);
1045
return new
XmlSchemaException
(ResXml.Sch_MinInclusiveConstraintFailed, string.Empty);
1053
return new
XmlSchemaException
(ResXml.Sch_MinExclusiveConstraintFailed, string.Empty);
1060
return new
XmlSchemaException
(ResXml.Sch_EnumerationConstraintFailed, string.Empty);
1121
return new
XmlSchemaException
(ResXml.Sch_TotalDigitsConstraintFailed, string.Empty);
1125
return new
XmlSchemaException
(ResXml.Sch_FractionDigitsConstraintFailed, string.Empty);
1150
return new
XmlSchemaException
(ResXml.Sch_MaxInclusiveConstraintFailed, string.Empty);
1157
return new
XmlSchemaException
(ResXml.Sch_MaxExclusiveConstraintFailed, string.Empty);
1165
return new
XmlSchemaException
(ResXml.Sch_MinInclusiveConstraintFailed, string.Empty);
1173
return new
XmlSchemaException
(ResXml.Sch_MinExclusiveConstraintFailed, string.Empty);
1180
return new
XmlSchemaException
(ResXml.Sch_EnumerationConstraintFailed, string.Empty);
1225
return new
XmlSchemaException
(ResXml.Sch_MaxInclusiveConstraintFailed, string.Empty);
1233
return new
XmlSchemaException
(ResXml.Sch_MaxExclusiveConstraintFailed, string.Empty);
1241
return new
XmlSchemaException
(ResXml.Sch_MinInclusiveConstraintFailed, string.Empty);
1249
return new
XmlSchemaException
(ResXml.Sch_MinExclusiveConstraintFailed, string.Empty);
1256
return new
XmlSchemaException
(ResXml.Sch_EnumerationConstraintFailed, string.Empty);
1296
return new
XmlSchemaException
(ResXml.Sch_MaxInclusiveConstraintFailed, string.Empty);
1304
return new
XmlSchemaException
(ResXml.Sch_MaxExclusiveConstraintFailed, string.Empty);
1312
return new
XmlSchemaException
(ResXml.Sch_MinInclusiveConstraintFailed, string.Empty);
1320
return new
XmlSchemaException
(ResXml.Sch_MinExclusiveConstraintFailed, string.Empty);
1327
return new
XmlSchemaException
(ResXml.Sch_EnumerationConstraintFailed, string.Empty);
1396
return new
XmlSchemaException
(ResXml.Sch_LengthConstraintFailed, string.Empty);
1403
return new
XmlSchemaException
(ResXml.Sch_MinLengthConstraintFailed, string.Empty);
1410
return new
XmlSchemaException
(ResXml.Sch_MaxLengthConstraintFailed, string.Empty);
1417
return new
XmlSchemaException
(ResXml.Sch_EnumerationConstraintFailed, string.Empty);
1479
return new
XmlSchemaException
(ResXml.Sch_EmptyAttributeValue, string.Empty);
1483
return new
XmlSchemaException
(ResXml.Sch_InvalidLanguageId, string.Empty);
1528
return new
XmlSchemaException
(ResXml.Sch_LengthConstraintFailed, string.Empty);
1535
return new
XmlSchemaException
(ResXml.Sch_MinLengthConstraintFailed, string.Empty);
1542
return new
XmlSchemaException
(ResXml.Sch_MaxLengthConstraintFailed, string.Empty);
1549
return new
XmlSchemaException
(ResXml.Sch_EnumerationConstraintFailed, string.Empty);
1597
return new
XmlSchemaException
(ResXml.Sch_LengthConstraintFailed, string.Empty);
1604
return new
XmlSchemaException
(ResXml.Sch_MinLengthConstraintFailed, string.Empty);
1611
return new
XmlSchemaException
(ResXml.Sch_MaxLengthConstraintFailed, string.Empty);
1618
return new
XmlSchemaException
(ResXml.Sch_EnumerationConstraintFailed, string.Empty);
1660
return new
XmlSchemaException
(ResXml.Sch_LengthConstraintFailed, string.Empty);
1668
return new
XmlSchemaException
(ResXml.Sch_MinLengthConstraintFailed, string.Empty);
1676
return new
XmlSchemaException
(ResXml.Sch_MaxLengthConstraintFailed, string.Empty);
1684
return new
XmlSchemaException
(ResXml.Sch_EnumerationConstraintFailed, string.Empty);
1714
return new
XmlSchemaException
(ResXml.Sch_EnumerationConstraintFailed, string.Empty);
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaAttDef.cs (1)
220
validationEventHandling.SendEvent(new
XmlSchemaException
(ResXml.Sch_XmlSpace, string.Empty), XmlSeverityType.Error);
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaElementDecl.cs (2)
243
throw new
XmlSchemaException
(ResXml.Sch_MissRequiredAttribute, attdef.Name.ToString());
247
throw new
XmlSchemaException
(ResXml.Sch_StandAlone, string.Empty);
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaInfo.cs (5)
212
throw new
XmlSchemaException
(ResXml.Sch_UndeclaredAttribute, qname.ToString());
216
throw new
XmlSchemaException
(ResXml.Sch_UndeclaredAttribute, qname.ToString());
313
throw new
XmlSchemaException
(ResXml.Sch_UndeclaredAttribute, qname.ToString());
317
throw new
XmlSchemaException
(ResXml.Sch_ProhibitedAttribute, qname.ToString());
346
eventhandler(this, new ValidationEventArgs(new
XmlSchemaException
(ResXml.Sch_MixSchemaTypes, string.Empty)));
FrameworkFork\Microsoft.Xml\Xml\schema\xdrvalidator.cs (1)
450
SendValidationEvent(new
XmlSchemaException
(ResXml.Xml_NoValidation, string.Empty), XmlSeverityType.Warning);
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaParticle.cs (4)
53
throw new
XmlSchemaException
(ResXml.Sch_MinOccursInvalidXsd, string.Empty);
89
throw new
XmlSchemaException
(ResXml.Sch_MaxOccursInvalidXsd, string.Empty);
113
throw new
XmlSchemaException
(ResXml.Sch_MinOccursInvalidXsd, string.Empty);
132
throw new
XmlSchemaException
(ResXml.Sch_MaxOccursInvalidXsd, string.Empty);
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaSet.cs (5)
560
SendValidationEvent(new
XmlSchemaException
(ResXml.Sch_SchemaNotRemoved, string.Empty), XmlSeverityType.Warning);
645
SendValidationEvent(new
XmlSchemaException
(ResXml.Sch_SchemaNotPreprocessed, string.Empty), XmlSeverityType.Error);
957
throw new
XmlSchemaException
(ResXml.Sch_ComponentAlreadySeenForNS, targetNamespace);
991
throw new
XmlSchemaException
(ResXml.Sch_ComponentAlreadySeenForNS, tns);
1587
SendValidationEvent(new
XmlSchemaException
(code, qname.ToString()), XmlSeverityType.Error);
FrameworkFork\Microsoft.Xml\Xml\XmlConvert.cs (2)
537
throw new
XmlSchemaException
(ResXml.Sch_NotNormalizedString, str);
546
return new
XmlSchemaException
(ResXml.Sch_NotNormalizedString, str);