13 references to BuildElementName
System.Xml (13)
System\Xml\Schema\BaseValidator.cs (2)
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) });
System\Xml\Schema\XmlSchemaValidator.cs (11)
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) });
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);
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);
2297
return
BuildElementName
(qname.Name, qname.Namespace);