4 writes to Namespace
System.Xml (4)
System\Xml\Schema\DtdValidator.cs (1)
421
context.
Namespace
= elementName.Namespace;
System\Xml\Schema\XdrValidator.cs (1)
543
context.
Namespace
= elementName.Namespace;
System\Xml\Schema\XmlSchemaValidator.cs (1)
1297
context.
Namespace
= elementName.Namespace;
System\Xml\Schema\XsdValidator.cs (1)
658
context.
Namespace
= elementName.Namespace;
50 references to Namespace
System.Xml (50)
System\Xml\Schema\BaseValidator.cs (4)
144
SendValidationEvent(Res.Sch_ContentInNill, XmlSchemaValidator.QNameString(context.LocalName, context.
Namespace
));
152
SendValidationEvent(Res.Sch_InvalidTextInElement, XmlSchemaValidator.BuildElementName(context.LocalName, context.
Namespace
));
156
SendValidationEvent(Res.Sch_InvalidTextInElementExpecting, new string[] { XmlSchemaValidator.BuildElementName(context.LocalName, context.
Namespace
), XmlSchemaValidator.PrintExpectedElements(names, false) });
172
SendValidationEvent(Res.Sch_ContentInNill, XmlSchemaValidator.QNameString(context.LocalName, context.
Namespace
));
System\Xml\Schema\DtdValidator.cs (3)
212
SendValidationEvent(Res.Sch_UndeclaredElement, XmlSchemaValidator.QNameString(context.LocalName, context.
Namespace
));
328
SendValidationEvent(Res.Sch_FixedElementValue, XmlSchemaValidator.QNameString(context.LocalName, context.
Namespace
));
337
SendValidationEvent(Res.Sch_ElementValueDataType, XmlSchemaValidator.QNameString(context.LocalName, context.
Namespace
));
System\Xml\Schema\XdrValidator.cs (4)
191
if(schemaInfo.TargetNamespaces.ContainsKey(context.
Namespace
)) {
192
SendValidationEvent(Res.Sch_UndeclaredElement, XmlSchemaValidator.QNameString(context.LocalName, context.
Namespace
));
438
SendValidationEvent(Res.Sch_FixedElementValue, XmlSchemaValidator.QNameString(context.LocalName, context.
Namespace
));
447
SendValidationEvent(Res.Sch_ElementValueDataType, XmlSchemaValidator.QNameString(context.LocalName, context.
Namespace
));
System\Xml\Schema\XmlSchemaValidator.cs (31)
682
SendValidationEvent(Res.Sch_ContentInNill, QNameString(context.LocalName, context.
Namespace
));
707
SendValidationEvent(Res.Sch_InvalidTextInElement, BuildElementName(context.LocalName, context.
Namespace
));
711
SendValidationEvent(Res.Sch_InvalidTextInElementExpecting, new string[] { BuildElementName(context.LocalName, context.
Namespace
), PrintExpectedElements(names, true) });
749
SendValidationEvent(Res.Sch_ContentInNill, QNameString(context.LocalName, context.
Namespace
));
905
SendValidationEvent(Res.Sch_DefaultAttributeNotApplied, new string[2] { attdef.Name.ToString(), QNameString(context.LocalName, context.
Namespace
)});
994
if (!compiledSchemaInfo.Contains(context.
Namespace
)) {
1126
SendValidationEvent(Res.Sch_ContentInNill, QNameString(context.LocalName, context.
Namespace
));
1131
SendValidationEvent(Res.Sch_ElementInMixedWithFixed, QNameString(context.LocalName, context.
Namespace
));
1219
SendValidationEvent(Res.Sch_InvalidElementDefaultValue, new string[] { currentElementDecl.DefaultValueRaw, QNameString(context.LocalName, context.
Namespace
) });
1258
SendValidationEvent(Res.Sch_ElementValueDataTypeDetailed, new string[] { QNameString(context.LocalName, context.
Namespace
), stringValue, GetTypeName(decl), exception.Message }, exception);
1262
SendValidationEvent(Res.Sch_FixedElementValue, QNameString(context.LocalName, context.
Namespace
));
1411
SendValidationEvent(Res.Sch_AbstractElement, QNameString(context.LocalName, context.
Namespace
));
1442
SendValidationEvent(Res.Sch_XsiTypeBlockedEx, new string[] { xsiTypeName.ToString(), QNameString(context.LocalName, context.
Namespace
) });
1469
SendValidationEvent(Res.Sch_UndeclaredElement, QNameString(context.LocalName, context.
Namespace
));
1472
SendValidationEvent(Res.Sch_NoElementSchemaFound, QNameString(context.LocalName, context.
Namespace
), XmlSeverityType.Warning);
1478
SendValidationEvent(Res.Sch_AbstractElement, QNameString(context.LocalName, context.
Namespace
));
1661
SendValidationEvent(Res.Sch_ElementValueDataTypeDetailed, new string[] { QNameString(context.LocalName, context.
Namespace
), stringValue, GetTypeName(decl), exception.Message }, exception);
1665
SendValidationEvent(Res.Sch_FixedElementValue, QNameString(context.LocalName, context.
Namespace
));
1846
SendValidationEvent(Res.Sch_RefNotInScope, QNameString(context.LocalName, context.
Namespace
));
1861
string namespaceUri = context.
Namespace
;
1945
string namespaceUri = context.
Namespace
;
2118
SendValidationEvent(eventHandler, sender, new XmlSchemaValidationException(Res.Sch_InvalidElementContentComplex, new string[] { BuildElementName(context.LocalName, context.
Namespace
), BuildElementName(name), Res.GetString(Res.Sch_ComplexContentModel) }, sourceUri, lineNo, linePos), XmlSeverityType.Error);
2121
SendValidationEvent(eventHandler, sender, new XmlSchemaValidationException(Res.Sch_InvalidElementContent, new string[] { BuildElementName(context.LocalName, context.
Namespace
), BuildElementName(name) }, sourceUri, lineNo, linePos), XmlSeverityType.Error);
2127
SendValidationEvent(eventHandler, sender, new XmlSchemaValidationException(Res.Sch_InvalidElementContentExpectingComplex, new string[] { BuildElementName(context.LocalName, context.
Namespace
), BuildElementName(name), PrintExpectedElements(names, getParticles), Res.GetString(Res.Sch_ComplexContentModel) }, sourceUri, lineNo, linePos), XmlSeverityType.Error);
2130
SendValidationEvent(eventHandler, sender, new XmlSchemaValidationException(Res.Sch_InvalidElementContentExpecting, new string[] { BuildElementName(context.LocalName, context.
Namespace
), BuildElementName(name), PrintExpectedElements(names, getParticles) }, sourceUri, lineNo, linePos), XmlSeverityType.Error);
2136
SendValidationEvent(eventHandler, sender, new XmlSchemaValidationException(Res.Sch_InvalidElementInEmptyEx, new string[] { QNameString(context.LocalName, context.
Namespace
), name.ToString() }, sourceUri, lineNo, linePos), XmlSeverityType.Error);
2139
SendValidationEvent(eventHandler, sender, new XmlSchemaValidationException(Res.Sch_InvalidElementInTextOnlyEx, new string[] { QNameString(context.LocalName, context.
Namespace
), name.ToString() }, sourceUri, lineNo, linePos), XmlSeverityType.Error);
2159
SendValidationEvent(eventHandler, sender, new XmlSchemaValidationException(Res.Sch_IncompleteContentComplex, new string[] { BuildElementName(context.LocalName, context.
Namespace
), Res.GetString(Res.Sch_ComplexContentModel) }, sourceUri, lineNo, linePos), XmlSeverityType.Error);
2161
SendValidationEvent(eventHandler, sender, new XmlSchemaValidationException(Res.Sch_IncompleteContent, BuildElementName(context.LocalName, context.
Namespace
), sourceUri, lineNo, linePos), XmlSeverityType.Error);
2166
SendValidationEvent(eventHandler, sender, new XmlSchemaValidationException(Res.Sch_IncompleteContentExpectingComplex, new string[] { BuildElementName(context.LocalName, context.
Namespace
), PrintExpectedElements(names, getParticles), Res.GetString(Res.Sch_ComplexContentModel) }, sourceUri, lineNo, linePos), XmlSeverityType.Error);
2169
SendValidationEvent(eventHandler, sender, new XmlSchemaValidationException(Res.Sch_IncompleteContentExpecting, new string[] { BuildElementName(context.LocalName, context.
Namespace
), PrintExpectedElements(names, getParticles) }, sourceUri, lineNo, linePos), XmlSeverityType.Error);
System\Xml\Schema\XsdValidator.cs (8)
201
SendValidationEvent(Res.Sch_UndeclaredElement, XmlSchemaValidator.QNameString(context.LocalName, context.
Namespace
));
204
SendValidationEvent(Res.Sch_NoElementSchemaFound, XmlSchemaValidator.QNameString(context.LocalName, context.
Namespace
), XmlSeverityType.Warning);
328
SendValidationEvent(Res.Sch_AbstractElement, XmlSchemaValidator.QNameString(context.LocalName, context.
Namespace
));
348
SendValidationEvent(Res.Sch_XsiTypeBlockedEx, new string[] { xsiType.ToString(), XmlSchemaValidator.QNameString(context.LocalName, context.
Namespace
) });
373
SendValidationEvent(Res.Sch_AbstractElement, XmlSchemaValidator.QNameString(context.LocalName, context.
Namespace
));
612
SendValidationEvent(Res.Sch_FixedElementValue, XmlSchemaValidator.QNameString(context.LocalName, context.
Namespace
));
625
SendValidationEvent(Res.Sch_ElementValueDataType, XmlSchemaValidator.QNameString(context.LocalName, context.
Namespace
));
748
SendValidationEvent(Res.Sch_RefNotInScope, XmlSchemaValidator.QNameString(context.LocalName, context.
Namespace
));