4 instantiations of XmlSchemaValidator
System.Private.Xml (3)
System\Xml\Core\XsdValidatingReader.cs (1)
171
_validator = new
XmlSchemaValidator
(_coreReaderNameTable, readerSettings.Schemas, _thisNSResolver, readerSettings.ValidationFlags);
System\Xml\Dom\DocumentSchemaValidator.cs (2)
245
_validator = new
XmlSchemaValidator
(_nameTable, _schemas, NamespaceResolver, validationFlags);
762
XmlSchemaValidator findTypeValidator = new
XmlSchemaValidator
(_document.NameTable, _document.Schemas, _nsManager, XmlSchemaValidationFlags.None);
System.Private.Xml.Linq (1)
System\Xml\Schema\XNodeValidator.cs (1)
64
validator = new
XmlSchemaValidator
(schemas.NameTable, schemas, namespaceManager, validationFlags);
35 references to XmlSchemaValidator
netstandard (1)
netstandard.cs (1)
2373
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Schema.
XmlSchemaValidator
))]
System.Private.Xml (31)
System\Xml\Core\XsdValidatingReader.cs (1)
63
private
XmlSchemaValidator
_validator = null!;
System\Xml\Core\XsdValidatingReaderAsync.cs (2)
537
static async Task ValidateWhitespace(Task<string> t,
XmlSchemaValidator
validator) => validator.ValidateWhitespace(await t.ConfigureAwait(false));
539
static async Task ValidateText(Task<string> t,
XmlSchemaValidator
validator) => validator.ValidateText(await t.ConfigureAwait(false));
System\Xml\Dom\DocumentSchemaValidator.cs (3)
21
private
XmlSchemaValidator
? _validator;
760
private
XmlSchemaValidator
CreateTypeFinderValidator(XmlSchemaObject? partialValidationType)
762
XmlSchemaValidator
findTypeValidator = new XmlSchemaValidator(_document.NameTable, _document.Schemas, _nsManager, XmlSchemaValidationFlags.None);
System\Xml\Schema\BaseValidator.cs (5)
176
SendValidationEvent(SR.Sch_ContentInNill,
XmlSchemaValidator
.QNameString(context.LocalName!, context.Namespace!));
187
SendValidationEvent(SR.Sch_InvalidTextInElement,
XmlSchemaValidator
.BuildElementName(context.LocalName!, context.Namespace!));
192
SendValidationEvent(SR.Sch_InvalidTextInElementExpecting, new string[] {
XmlSchemaValidator
.BuildElementName(context.LocalName!, context.Namespace!),
XmlSchemaValidator
.PrintExpectedElements(names, false) });
215
SendValidationEvent(SR.Sch_ContentInNill,
XmlSchemaValidator
.QNameString(context.LocalName!, context.Namespace!));
System\Xml\Schema\DtdValidator.cs (5)
156
XmlSchemaValidator
.ElementValidationError(elementName, context, EventHandler, reader, reader.BaseURI, PositionInfo.LineNumber, PositionInfo.LinePosition, null);
253
SendValidationEvent(SR.Sch_UndeclaredElement,
XmlSchemaValidator
.QNameString(context!.LocalName!, context.Namespace!));
278
XmlSchemaValidator
.CompleteValidationError(context, EventHandler, reader, reader.BaseURI, PositionInfo.LineNumber, PositionInfo.LinePosition, null);
397
SendValidationEvent(SR.Sch_FixedElementValue,
XmlSchemaValidator
.QNameString(context!.LocalName!, context.Namespace!));
409
SendValidationEvent(SR.Sch_ElementValueDataType,
XmlSchemaValidator
.QNameString(context!.LocalName!, context.Namespace!));
System\Xml\Schema\XdrValidator.cs (5)
115
XmlSchemaValidator
.ElementValidationError(elementName, context, EventHandler, reader, reader.BaseURI, PositionInfo.LineNumber, PositionInfo.LinePosition, null);
178
XmlSchemaValidator
.CompleteValidationError(context, EventHandler, reader, reader.BaseURI, PositionInfo.LineNumber, PositionInfo.LinePosition, null);
232
SendValidationEvent(SR.Sch_UndeclaredElement,
XmlSchemaValidator
.QNameString(context.LocalName!, context.Namespace!));
536
SendValidationEvent(SR.Sch_FixedElementValue,
XmlSchemaValidator
.QNameString(context!.LocalName!, context.Namespace!));
548
SendValidationEvent(SR.Sch_ElementValueDataType,
XmlSchemaValidator
.QNameString(context!.LocalName!, context.Namespace!));
System\Xml\Schema\XsdValidator.cs (10)
206
XmlSchemaValidator
.ElementValidationError(elementName, context, EventHandler, reader, reader.BaseURI, PositionInfo.LineNumber, PositionInfo.LinePosition, null);
233
SendValidationEvent(SR.Sch_UndeclaredElement,
XmlSchemaValidator
.QNameString(context!.LocalName!, context.Namespace!));
237
SendValidationEvent(SR.Sch_NoElementSchemaFound,
XmlSchemaValidator
.QNameString(context!.LocalName!, context.Namespace!), XmlSeverityType.Warning);
337
XmlSchemaValidator
.CompleteValidationError(context, EventHandler, reader, reader.BaseURI, PositionInfo.LineNumber, PositionInfo.LinePosition, null);
389
SendValidationEvent(SR.Sch_AbstractElement,
XmlSchemaValidator
.QNameString(context!.LocalName!, context.Namespace!));
415
SendValidationEvent(SR.Sch_XsiTypeBlockedEx, new string?[] { xsiType.ToString(),
XmlSchemaValidator
.QNameString(context!.LocalName!, context.Namespace!) });
448
SendValidationEvent(SR.Sch_AbstractElement,
XmlSchemaValidator
.QNameString(context.LocalName!, context.Namespace!));
730
SendValidationEvent(SR.Sch_FixedElementValue,
XmlSchemaValidator
.QNameString(context!.LocalName!, context.Namespace!));
747
SendValidationEvent(SR.Sch_ElementValueDataType,
XmlSchemaValidator
.QNameString(context!.LocalName!, context.Namespace!));
896
SendValidationEvent(SR.Sch_RefNotInScope,
XmlSchemaValidator
.QNameString(context.LocalName!, context.Namespace!));
System.Private.Xml.Linq (1)
System\Xml\Schema\XNodeValidator.cs (1)
23
private
XmlSchemaValidator
? validator;
System.Xml (1)
System.Xml.cs (1)
98
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Schema.
XmlSchemaValidator
))]
System.Xml.ReaderWriter (1)
artifacts\obj\System.Xml.ReaderWriter\Debug\net10.0\System.Xml.ReaderWriter.Forwards.cs (1)
97
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Schema.
XmlSchemaValidator
))]