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