24 instantiations of XmlSchemaValidationException
dotnet-svcutil-lib (24)
FrameworkFork\Microsoft.Xml\Xml\Dom\DocumentSchemaValidator.cs (2)
139
throw new
XmlSchemaValidationException
(ResXml.XmlDocument_NoNodeSchemaInfo, null, nodeToValidate);
154
throw new
XmlSchemaValidationException
(ResXml.XmlDocument_NoNodeSchemaInfo, null, nodeToValidate);
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaValidator.cs (22)
2048
SendValidationEvent(new
XmlSchemaValidationException
(ResXml.Sch_UndeclaredId, next.Id, _sourceUriString, next.LineNo, next.LinePos), XmlSeverityType.Error);
2410
SendValidationEvent(new
XmlSchemaValidationException
(ResXml.Sch_MissingKey, constraints[i].constraint.name.ToString(), _sourceUriString, ks.PosLine, ks.PosCol));
2418
SendValidationEvent(new
XmlSchemaValidationException
(ResXml.Sch_DuplicateKey,
2434
SendValidationEvent(new
XmlSchemaValidationException
(ResXml.Sch_DuplicateKey,
2479
SendValidationEvent(new
XmlSchemaValidationException
(ResXml.Sch_UnresolvedKeyref, new string[2] { ks.ToString(), vcs[i].constraint.name.ToString() },
2549
SendValidationEvent(eventHandler, sender, new
XmlSchemaValidationException
(ResXml.Sch_InvalidElementContentComplex, new string[] { BuildElementName(context.LocalName, context.Namespace), BuildElementName(name), ResXml.Sch_ComplexContentModel }, sourceUri, lineNo, linePos), XmlSeverityType.Error);
2553
SendValidationEvent(eventHandler, sender, new
XmlSchemaValidationException
(ResXml.Sch_InvalidElementContent, new string[] { BuildElementName(context.LocalName, context.Namespace), BuildElementName(name) }, sourceUri, lineNo, linePos), XmlSeverityType.Error);
2561
SendValidationEvent(eventHandler, sender, new
XmlSchemaValidationException
(ResXml.Sch_InvalidElementContentExpectingComplex, new string[] { BuildElementName(context.LocalName, context.Namespace), BuildElementName(name), PrintExpectedElements(names, getParticles), ResXml.Sch_ComplexContentModel }, sourceUri, lineNo, linePos), XmlSeverityType.Error);
2565
SendValidationEvent(eventHandler, sender, new
XmlSchemaValidationException
(ResXml.Sch_InvalidElementContentExpecting, new string[] { BuildElementName(context.LocalName, context.Namespace), BuildElementName(name), PrintExpectedElements(names, getParticles) }, sourceUri, lineNo, linePos), XmlSeverityType.Error);
2573
SendValidationEvent(eventHandler, sender, new
XmlSchemaValidationException
(ResXml.Sch_InvalidElementInEmptyEx, new string[] { QNameString(context.LocalName, context.Namespace), name.ToString() }, sourceUri, lineNo, linePos), XmlSeverityType.Error);
2577
SendValidationEvent(eventHandler, sender, new
XmlSchemaValidationException
(ResXml.Sch_InvalidElementInTextOnlyEx, new string[] { QNameString(context.LocalName, context.Namespace), name.ToString() }, sourceUri, lineNo, linePos), XmlSeverityType.Error);
2602
SendValidationEvent(eventHandler, sender, new
XmlSchemaValidationException
(ResXml.Sch_IncompleteContentComplex, new string[] { BuildElementName(context.LocalName, context.Namespace), ResXml.Sch_ComplexContentModel }, sourceUri, lineNo, linePos), XmlSeverityType.Error);
2604
SendValidationEvent(eventHandler, sender, new
XmlSchemaValidationException
(ResXml.Sch_IncompleteContent, BuildElementName(context.LocalName, context.Namespace), sourceUri, lineNo, linePos), XmlSeverityType.Error);
2611
SendValidationEvent(eventHandler, sender, new
XmlSchemaValidationException
(ResXml.Sch_IncompleteContentExpectingComplex, new string[] { BuildElementName(context.LocalName, context.Namespace), PrintExpectedElements(names, getParticles), ResXml.Sch_ComplexContentModel }, sourceUri, lineNo, linePos), XmlSeverityType.Error);
2615
SendValidationEvent(eventHandler, sender, new
XmlSchemaValidationException
(ResXml.Sch_IncompleteContentExpecting, new string[] { BuildElementName(context.LocalName, context.Namespace), PrintExpectedElements(names, getParticles) }, sourceUri, lineNo, linePos), XmlSeverityType.Error);
2819
SendValidationEvent(new
XmlSchemaValidationException
(code, args, _sourceUriString, _positionInfo.LineNumber, _positionInfo.LinePosition));
2824
SendValidationEvent(new
XmlSchemaValidationException
(code, arg, _sourceUriString, _positionInfo.LineNumber, _positionInfo.LinePosition));
2829
SendValidationEvent(new
XmlSchemaValidationException
(code, new string[] { arg1, arg2 }, _sourceUriString, _positionInfo.LineNumber, _positionInfo.LinePosition));
2836
SendValidationEvent(new
XmlSchemaValidationException
(code, args, innerException, _sourceUriString, _positionInfo.LineNumber, _positionInfo.LinePosition), severity);
2842
SendValidationEvent(new
XmlSchemaValidationException
(code, args, innerException, _sourceUriString, _positionInfo.LineNumber, _positionInfo.LinePosition), XmlSeverityType.Error);
2852
SendValidationEvent(new
XmlSchemaValidationException
(e.GetRes, e.Args, e.SourceUri, e.LineNumber, e.LinePosition), XmlSeverityType.Error);
2859
SendValidationEvent(new
XmlSchemaValidationException
(code, msg, _sourceUriString, _positionInfo.LineNumber, _positionInfo.LinePosition), severity);
7 references to XmlSchemaValidationException
dotnet-svcutil-lib (7)
FrameworkFork\Microsoft.Xml\Xml\Dom\DocumentSchemaValidator.cs (2)
815
XmlSchemaValidationException
ex = arg.Exception as
XmlSchemaValidationException
;
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaValidator.cs (3)
2845
private void SendValidationEvent(
XmlSchemaValidationException
e)
2863
private void SendValidationEvent(
XmlSchemaValidationException
e, XmlSeverityType severity)
2888
internal static void SendValidationEvent(ValidationEventHandler eventHandler, object sender,
XmlSchemaValidationException
e, XmlSeverityType severity)
FrameworkFork\Microsoft.Xml\Xml\XPath\XPathNavigator.cs (2)
1153
XmlSchemaValidationException
exception = args.Exception as
XmlSchemaValidationException
;