4 writes to Namespace
System.Private.Xml (4)
System\Xml\Schema\DtdValidator.cs (1)
509
context.
Namespace
= elementName.Namespace;
System\Xml\Schema\XdrValidator.cs (1)
661
context.
Namespace
= elementName.Namespace;
System\Xml\Schema\XmlSchemaValidator.cs (1)
1531
_context.
Namespace
= elementName.Namespace;
System\Xml\Schema\XsdValidator.cs (1)
784
context.
Namespace
= elementName.Namespace;
50 references to Namespace
System.Private.Xml (50)
System\Xml\Schema\BaseValidator.cs (4)
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 (3)
253
SendValidationEvent(SR.Sch_UndeclaredElement, XmlSchemaValidator.QNameString(context!.LocalName!, context.
Namespace
!));
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 (4)
230
if (schemaInfo.TargetNamespaces.ContainsKey(context!.
Namespace
!))
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\XmlSchemaValidator.cs (31)
748
SendValidationEvent(SR.Sch_ContentInNill, QNameString(_context.LocalName!, _context.
Namespace
!));
778
SendValidationEvent(SR.Sch_InvalidTextInElement, BuildElementName(_context.LocalName!, _context.
Namespace
!));
783
SendValidationEvent(SR.Sch_InvalidTextInElementExpecting, new string[] { BuildElementName(_context.LocalName!, _context.
Namespace
!), PrintExpectedElements(names, true) });
827
SendValidationEvent(SR.Sch_ContentInNill, QNameString(_context.LocalName!, _context.
Namespace
!));
1042
SendValidationEvent(SR.Sch_DefaultAttributeNotApplied, new string[2] { attdef.Name.ToString(), QNameString(_context.LocalName!, _context.
Namespace
!) });
1153
if (!_compiledSchemaInfo.Contains(_context.
Namespace
!))
1317
SendValidationEvent(SR.Sch_ContentInNill, QNameString(_context.LocalName!, _context.
Namespace
!));
1323
SendValidationEvent(SR.Sch_ElementInMixedWithFixed, QNameString(_context.LocalName!, _context.
Namespace
!));
1433
SendValidationEvent(SR.Sch_InvalidElementDefaultValue, new string[] { currentElementDecl.DefaultValueRaw, QNameString(_context.LocalName!, _context.
Namespace
!) });
1479
SendValidationEvent(SR.Sch_ElementValueDataTypeDetailed, new string[] { QNameString(_context.LocalName!, _context.
Namespace
!), stringValue, GetTypeName(decl), exception.Message }, exception);
1485
SendValidationEvent(SR.Sch_FixedElementValue, QNameString(_context.LocalName!, _context.
Namespace
!));
1680
SendValidationEvent(SR.Sch_AbstractElement, QNameString(_context.LocalName!, _context.
Namespace
!));
1716
SendValidationEvent(SR.Sch_XsiTypeBlockedEx, new string?[] { xsiTypeName.ToString(), QNameString(_context.LocalName!, _context.
Namespace
!) });
1748
SendValidationEvent(SR.Sch_UndeclaredElement, QNameString(_context.LocalName!, _context.
Namespace
!));
1752
SendValidationEvent(SR.Sch_NoElementSchemaFound, QNameString(_context.LocalName!, _context.
Namespace
!), XmlSeverityType.Warning);
1760
SendValidationEvent(SR.Sch_AbstractElement, QNameString(_context.LocalName!, _context.
Namespace
!));
1978
SendValidationEvent(SR.Sch_ElementValueDataTypeDetailed, new string[] { QNameString(_context.LocalName!, _context.
Namespace
!), stringValue, GetTypeName(decl), exception.Message }, exception);
1986
SendValidationEvent(SR.Sch_FixedElementValue, QNameString(_context.LocalName!, _context.
Namespace
!));
2206
SendValidationEvent(SR.Sch_RefNotInScope, QNameString(_context.LocalName!, _context.
Namespace
!));
2222
string? namespaceUri = _context.
Namespace
;
2324
string? namespaceUri = _context.
Namespace
;
2534
SendValidationEvent(eventHandler, sender, new XmlSchemaValidationException(SR.Sch_InvalidElementContentComplex, new string[] { BuildElementName(context.LocalName!, context.
Namespace
!), BuildElementName(name), SR.Sch_ComplexContentModel }, sourceUri, lineNo, linePos), XmlSeverityType.Error);
2538
SendValidationEvent(eventHandler, sender, new XmlSchemaValidationException(SR.Sch_InvalidElementContent, new string[] { BuildElementName(context.LocalName!, context.
Namespace
!), BuildElementName(name) }, sourceUri, lineNo, linePos), XmlSeverityType.Error);
2546
SendValidationEvent(eventHandler, sender, new XmlSchemaValidationException(SR.Sch_InvalidElementContentExpectingComplex, new string[] { BuildElementName(context.LocalName!, context.
Namespace
!), BuildElementName(name), PrintExpectedElements(names, getParticles), SR.Sch_ComplexContentModel }, sourceUri, lineNo, linePos), XmlSeverityType.Error);
2550
SendValidationEvent(eventHandler, sender, new XmlSchemaValidationException(SR.Sch_InvalidElementContentExpecting, new string[] { BuildElementName(context.LocalName!, context.
Namespace
!), BuildElementName(name), PrintExpectedElements(names, getParticles) }, sourceUri, lineNo, linePos), XmlSeverityType.Error);
2558
SendValidationEvent(eventHandler, sender, new XmlSchemaValidationException(SR.Sch_InvalidElementInEmptyEx, new string[] { QNameString(context.LocalName!, context.
Namespace
!), name.ToString() }, sourceUri, lineNo, linePos), XmlSeverityType.Error);
2562
SendValidationEvent(eventHandler, sender, new XmlSchemaValidationException(SR.Sch_InvalidElementInTextOnlyEx, new string[] { QNameString(context.LocalName!, context.
Namespace
!), name.ToString() }, sourceUri, lineNo, linePos), XmlSeverityType.Error);
2588
SendValidationEvent(eventHandler, sender, new XmlSchemaValidationException(SR.Sch_IncompleteContentComplex, new string?[] { BuildElementName(context.LocalName!, context.
Namespace
!), SR.Sch_ComplexContentModel }, sourceUri, lineNo, linePos), XmlSeverityType.Error);
2591
SendValidationEvent(eventHandler, sender, new XmlSchemaValidationException(SR.Sch_IncompleteContent, BuildElementName(context.LocalName!, context.
Namespace
!), sourceUri, lineNo, linePos), XmlSeverityType.Error);
2598
SendValidationEvent(eventHandler, sender, new XmlSchemaValidationException(SR.Sch_IncompleteContentExpectingComplex, new string?[] { BuildElementName(context.LocalName!, context.
Namespace
!), PrintExpectedElements(names, getParticles), SR.Sch_ComplexContentModel }, sourceUri, lineNo, linePos), XmlSeverityType.Error);
2602
SendValidationEvent(eventHandler, sender, new XmlSchemaValidationException(SR.Sch_IncompleteContentExpecting, new string?[] { BuildElementName(context.LocalName!, context.
Namespace
!), PrintExpectedElements(names, getParticles) }, sourceUri, lineNo, linePos), XmlSeverityType.Error);
System\Xml\Schema\XsdValidator.cs (8)
233
SendValidationEvent(SR.Sch_UndeclaredElement, XmlSchemaValidator.QNameString(context!.LocalName!, context.
Namespace
!));
237
SendValidationEvent(SR.Sch_NoElementSchemaFound, XmlSchemaValidator.QNameString(context!.LocalName!, context.
Namespace
!), XmlSeverityType.Warning);
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
!));