Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ ValidateEndElement()

void System.Xml.Schema.XdrValidator.ValidateEndElement ( )
inlineprivate

Definition at line 174 of file XdrValidator.cs.

175 {
177 {
179 }
180 if (context.ElementDecl != null)
181 {
183 {
184 XmlSchemaValidator.CompleteValidationError(context, base.EventHandler, reader, reader.BaseURI, base.PositionInfo.LineNumber, base.PositionInfo.LinePosition, null);
185 }
186 if (checkDatatype)
187 {
188 string value = ((!hasSibling) ? textString : textValue.ToString());
189 CheckValue(value, null);
190 checkDatatype = false;
192 textString = string.Empty;
193 }
194 }
195 Pop();
196 }
XmlValidatingReaderImpl reader
virtual bool CompleteValidation(ValidationState context)
void CheckValue(string value, SchemaAttDef attdef)
XmlNamespaceManager _nsManager

References System.Xml.Schema.XdrValidator._isProcessContents, System.Xml.Schema.XdrValidator._nsManager, System.Xml.XmlValidatingReaderImpl.BaseURI, System.Xml.Schema.BaseValidator.checkDatatype, System.Xml.Schema.XdrValidator.CheckValue(), System.Xml.Schema.ContentValidator.CompleteValidation(), System.Xml.Schema.XmlSchemaValidator.CompleteValidationError(), System.Xml.Schema.SchemaElementDecl.ContentValidator, System.Xml.Schema.BaseValidator.context, System.Xml.Dictionary, System.Xml.Schema.ValidationState.ElementDecl, System.Xml.Schema.BaseValidator.hasSibling, System.Xml.Schema.ValidationState.NeedValidateChildren, System.Xml.Schema.XdrValidator.Pop(), System.Xml.XmlNamespaceManager.PopScope(), System.Xml.Schema.BaseValidator.reader, System.Xml.Schema.BaseValidator.textString, System.Xml.Schema.BaseValidator.textValue, System.Text.StringBuilder.ToString(), and System.value.

Referenced by System.Xml.Schema.XdrValidator.Validate().