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