39 references to XmlSchemaException
System.Private.Xml (39)
System\Xml\Schema\BaseProcessor.cs (2)
220SendValidationEvent(new XmlSchemaException(code, msg, source), XmlSeverityType.Error); 250SendValidationEvent(new XmlSchemaException(code, msg, source), severity);
System\Xml\Schema\FacetChecker.cs (3)
197throw new XmlSchemaException(SR.Sch_InvalidWhiteSpace, facet.Value, facet); 331throw new XmlSchemaException(SR.Sch_FractionDigitsFacetInvalid, SR.Sch_FractionDigitsNotOnDecimal, facet); 746throw new XmlSchemaException(errorCode, _datatype.TypeCodeString, facet);
System\Xml\Schema\SchemaCollectionCompiler.cs (17)
556throw new XmlSchemaException(SR.Sch_UndeclaredSimpleType, list.ItemTypeName.ToString(), simpleType); 581throw new XmlSchemaException(SR.Sch_InvalidSimpleTypeRestriction, restriction.BaseTypeName.ToString(), simpleType); 595throw new XmlSchemaException(SR.Sch_UndeclaredSimpleType, restriction.BaseTypeName.ToString(), simpleType); 661throw new XmlSchemaException(SR.Sch_UndeclaredSimpleType, mainMemberTypes[i].ToString(), simpleType); 1992throw new XmlSchemaException(SR.Sch_UndeclaredAttribute, xa.RefName.ToString(), xa); 1997throw new XmlSchemaException(SR.Sch_RefInvalidAttribute, xa.RefName.ToString(), xa); 2006throw new XmlSchemaException(SR.Sch_FixedDefaultInRef, xa.RefName.ToString(), xa); 2012throw new XmlSchemaException(SR.Sch_FixedInRef, xa.RefName.ToString(), xa); 2055throw new XmlSchemaException(SR.Sch_UndeclaredSimpleType, xa.SchemaTypeName.ToString(), xa); 2141throw new XmlSchemaException(SR.Sch_UndeclaredIdentityConstraint, ((XmlSchemaKeyref)xi).Refer.ToString(), xi); 2146throw new XmlSchemaException(SR.Sch_RefInvalidIdentityConstraint, ((XmlSchemaKeyref)xi).Refer.ToString(), xi); 2151throw new XmlSchemaException(SR.Sch_RefInvalidCardin, xi.QualifiedName.ToString(), xi); 2156throw new XmlSchemaException(SR.Sch_ReftoKeyref, xi.QualifiedName.ToString(), xi); 2197throw new XmlSchemaException(SR.Sch_UndeclaredElement, xe.RefName.ToString(), xe); 2202throw new XmlSchemaException(SR.Sch_RefInvalidElement, xe.RefName.ToString(), xe); 2218throw new XmlSchemaException(SR.Sch_UndeclaredType, xe.SchemaTypeName.ToString(), xe); 2226throw new XmlSchemaException(SR.Sch_UndeclaredEquivClass, xe.SubstitutionGroup.Name, xe);
System\Xml\Schema\SchemaSetCompiler.cs (17)
641throw new XmlSchemaException(SR.Sch_UndeclaredSimpleType, list.ItemTypeName.ToString(), list); 670throw new XmlSchemaException(SR.Sch_InvalidSimpleTypeRestriction, restriction.BaseTypeName.ToString(), simpleType); 685throw new XmlSchemaException(SR.Sch_UndeclaredSimpleType, restriction.BaseTypeName.ToString(), restriction); 751throw new XmlSchemaException(SR.Sch_UndeclaredSimpleType, mainMemberTypes[i].ToString(), mainUnion); 2433throw new XmlSchemaException(SR.Sch_UndeclaredAttribute, xa.RefName.ToString(), xa); 2438throw new XmlSchemaException(SR.Sch_RefInvalidAttribute, xa.RefName.ToString(), xa); 2453throw new XmlSchemaException(SR.Sch_FixedDefaultInRef, xa.RefName.ToString(), xa); 2460throw new XmlSchemaException(SR.Sch_FixedInRef, xa.RefName.ToString(), xa); 2488throw new XmlSchemaException(SR.Sch_UndeclaredSimpleType, xa.SchemaTypeName.ToString(), xa); 2597throw new XmlSchemaException(SR.Sch_UndeclaredIdentityConstraint, ((XmlSchemaKeyref)xi).Refer.ToString(), xi); 2603throw new XmlSchemaException(SR.Sch_RefInvalidIdentityConstraint, ((XmlSchemaKeyref)xi).Refer.ToString(), xi); 2609throw new XmlSchemaException(SR.Sch_RefInvalidCardin, xi.QualifiedName.ToString(), xi); 2615throw new XmlSchemaException(SR.Sch_ReftoKeyref, xi.QualifiedName.ToString(), xi); 2656throw new XmlSchemaException(SR.Sch_UndeclaredElement, xe.RefName.ToString(), xe); 2661throw new XmlSchemaException(SR.Sch_RefInvalidElement, xe.RefName.ToString(), xe); 2677throw new XmlSchemaException(SR.Sch_UndeclaredType, xe.SchemaTypeName.ToString(), xe); 2685throw new XmlSchemaException(SR.Sch_UndeclaredEquivClass, xe.SubstitutionGroup.Name, xe);