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

◆ ValidateEndElement()

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

Definition at line 328 of file XsdValidator.cs.

329 {
331 {
333 }
334 if (context.ElementDecl != null)
335 {
336 if (!context.IsNill)
337 {
339 {
340 XmlSchemaValidator.CompleteValidationError(context, base.EventHandler, reader, reader.BaseURI, base.PositionInfo.LineNumber, base.PositionInfo.LinePosition, null);
341 }
343 {
344 string text = ((!hasSibling) ? textString : textValue.ToString());
345 if (text.Length != 0 || context.ElementDecl.DefaultValueTyped == null)
346 {
347 CheckValue(text, null);
348 checkDatatype = false;
349 }
350 }
351 }
353 {
355 }
356 }
357 Pop();
358 }
XmlValidatingReaderImpl reader
virtual bool CompleteValidation(ValidationState context)
void CheckValue(string value, SchemaAttDef attdef)
XmlNamespaceManager _nsManager

References System.Xml.Schema.XsdValidator._bManageNamespaces, System.Xml.Schema.XsdValidator._nsManager, System.Xml.XmlValidatingReaderImpl.BaseURI, System.Xml.Schema.BaseValidator.checkDatatype, System.Xml.Schema.XsdValidator.CheckValue(), System.Xml.Schema.ContentValidator.CompleteValidation(), System.Xml.Schema.XmlSchemaValidator.CompleteValidationError(), System.Xml.Schema.SchemaElementDecl.ContentValidator, System.Xml.Schema.BaseValidator.context, System.Xml.Schema.SchemaDeclBase.DefaultValueTyped, System.Xml.Dictionary, System.Xml.Schema.ValidationState.ElementDecl, System.Xml.Schema.XsdValidator.EndElementIdentityConstraints(), System.Xml.Schema.XsdValidator.HasIdentityConstraints, System.Xml.Schema.BaseValidator.hasSibling, System.Xml.Schema.ValidationState.IsNill, System.Xml.Schema.ValidationState.NeedValidateChildren, System.Xml.Schema.XsdValidator.Pop(), System.Xml.XmlNamespaceManager.PopScope(), System.Xml.Schema.BaseValidator.reader, System.text, System.Xml.Schema.BaseValidator.textString, System.Xml.Schema.BaseValidator.textValue, and System.Text.StringBuilder.ToString().

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