3 instantiations of XmlSchemaValidator
dotnet-svcutil-lib (3)
FrameworkFork\Microsoft.Xml\Xml\Core\XsdValidatingReader.cs (1)
180
_validator = new
XmlSchemaValidator
(_coreReaderNameTable, readerSettings.Schemas, _thisNSResolver, readerSettings.ValidationFlags);
FrameworkFork\Microsoft.Xml\Xml\Dom\DocumentSchemaValidator.cs (2)
264
_validator = new
XmlSchemaValidator
(_nameTable, _schemas, NamespaceResolver, validationFlags);
788
XmlSchemaValidator findTypeValidator = new
XmlSchemaValidator
(_document.NameTable, _document.Schemas, _nsManager, XmlSchemaValidationFlags.None);
29 references to XmlSchemaValidator
dotnet-svcutil-lib (29)
FrameworkFork\Microsoft.Xml\Xml\Core\XsdValidatingReader.cs (1)
67
private
XmlSchemaValidator
_validator;
FrameworkFork\Microsoft.Xml\Xml\Dom\DocumentSchemaValidator.cs (3)
27
private
XmlSchemaValidator
_validator;
786
private
XmlSchemaValidator
CreateTypeFinderValidator(XmlSchemaObject partialValidationType)
788
XmlSchemaValidator
findTypeValidator = new XmlSchemaValidator(_document.NameTable, _document.Schemas, _nsManager, XmlSchemaValidationFlags.None);
FrameworkFork\Microsoft.Xml\Xml\schema\basevalidator.cs (5)
171
SendValidationEvent(ResXml.Sch_ContentInNill,
XmlSchemaValidator
.QNameString(context.LocalName, context.Namespace));
181
SendValidationEvent(ResXml.Sch_InvalidTextInElement,
XmlSchemaValidator
.BuildElementName(context.LocalName, context.Namespace));
186
SendValidationEvent(ResXml.Sch_InvalidTextInElementExpecting, new string[] {
XmlSchemaValidator
.BuildElementName(context.LocalName, context.Namespace),
XmlSchemaValidator
.PrintExpectedElements(names, false) });
207
SendValidationEvent(ResXml.Sch_ContentInNill,
XmlSchemaValidator
.QNameString(context.LocalName, context.Namespace));
FrameworkFork\Microsoft.Xml\Xml\schema\dtdvalidator.cs (5)
153
XmlSchemaValidator
.ElementValidationError(elementName, context, EventHandler, reader, reader.BaseURI, PositionInfo.LineNumber, PositionInfo.LinePosition, null);
250
SendValidationEvent(ResXml.Sch_UndeclaredElement,
XmlSchemaValidator
.QNameString(context.LocalName, context.Namespace));
275
XmlSchemaValidator
.CompleteValidationError(context, EventHandler, reader, reader.BaseURI, PositionInfo.LineNumber, PositionInfo.LinePosition, null);
394
SendValidationEvent(ResXml.Sch_FixedElementValue,
XmlSchemaValidator
.QNameString(context.LocalName, context.Namespace));
406
SendValidationEvent(ResXml.Sch_ElementValueDataType,
XmlSchemaValidator
.QNameString(context.LocalName, context.Namespace));
FrameworkFork\Microsoft.Xml\Xml\schema\xdrvalidator.cs (5)
115
XmlSchemaValidator
.ElementValidationError(elementName, context, EventHandler, reader, reader.BaseURI, PositionInfo.LineNumber, PositionInfo.LinePosition, null);
176
XmlSchemaValidator
.CompleteValidationError(context, EventHandler, reader, reader.BaseURI, PositionInfo.LineNumber, PositionInfo.LinePosition, null);
230
SendValidationEvent(ResXml.Sch_UndeclaredElement,
XmlSchemaValidator
.QNameString(context.LocalName, context.Namespace));
535
SendValidationEvent(ResXml.Sch_FixedElementValue,
XmlSchemaValidator
.QNameString(context.LocalName, context.Namespace));
547
SendValidationEvent(ResXml.Sch_ElementValueDataType,
XmlSchemaValidator
.QNameString(context.LocalName, context.Namespace));
FrameworkFork\Microsoft.Xml\Xml\schema\xsdvalidator.cs (10)
209
XmlSchemaValidator
.ElementValidationError(elementName, context, EventHandler, reader, reader.BaseURI, PositionInfo.LineNumber, PositionInfo.LinePosition, null);
236
SendValidationEvent(ResXml.Sch_UndeclaredElement,
XmlSchemaValidator
.QNameString(context.LocalName, context.Namespace));
240
SendValidationEvent(ResXml.Sch_NoElementSchemaFound,
XmlSchemaValidator
.QNameString(context.LocalName, context.Namespace), XmlSeverityType.Warning);
342
XmlSchemaValidator
.CompleteValidationError(context, EventHandler, reader, reader.BaseURI, PositionInfo.LineNumber, PositionInfo.LinePosition, null);
397
SendValidationEvent(ResXml.Sch_AbstractElement,
XmlSchemaValidator
.QNameString(context.LocalName, context.Namespace));
423
SendValidationEvent(ResXml.Sch_XsiTypeBlockedEx, new string[] { xsiType.ToString(),
XmlSchemaValidator
.QNameString(context.LocalName, context.Namespace) });
456
SendValidationEvent(ResXml.Sch_AbstractElement,
XmlSchemaValidator
.QNameString(context.LocalName, context.Namespace));
746
SendValidationEvent(ResXml.Sch_FixedElementValue,
XmlSchemaValidator
.QNameString(context.LocalName, context.Namespace));
763
SendValidationEvent(ResXml.Sch_ElementValueDataType,
XmlSchemaValidator
.QNameString(context.LocalName, context.Namespace));
914
SendValidationEvent(ResXml.Sch_RefNotInScope,
XmlSchemaValidator
.QNameString(context.LocalName, context.Namespace));