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

◆ ValidateEndStartElement()

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

Definition at line 294 of file XdrValidator.cs.

295 {
297 {
298 for (int i = 0; i < context.ElementDecl.DefaultAttDefs.Count; i++)
299 {
301 }
302 }
304 {
305 try
306 {
308 }
309 catch (XmlSchemaException ex)
310 {
311 ex.SetSource(reader.BaseURI, base.PositionInfo.LineNumber, base.PositionInfo.LinePosition);
313 }
314 }
315 if (context.ElementDecl.Datatype != null)
316 {
317 checkDatatype = true;
318 hasSibling = false;
319 textString = string.Empty;
321 }
322 }
void SendValidationEvent(string code)
XmlValidatingReaderImpl reader
void CheckAttributes(Hashtable presence, bool standalone)
IList< IDtdDefaultAttributeInfo > DefaultAttDefs
bool AddDefaultAttribute(SchemaAttDef attdef)

References System.Xml.Schema.XdrValidator._attPresence, System.Xml.XmlValidatingReaderImpl.AddDefaultAttribute(), System.Xml.XmlValidatingReaderImpl.BaseURI, System.Xml.Schema.SchemaElementDecl.CheckAttributes(), System.Xml.Schema.BaseValidator.checkDatatype, System.Xml.Schema.BaseValidator.context, System.Xml.Schema.SchemaDeclBase.Datatype, System.Xml.Schema.SchemaElementDecl.DefaultAttDefs, System.Xml.Dictionary, System.Xml.Schema.ValidationState.ElementDecl, System.Xml.Schema.SchemaElementDecl.HasDefaultAttribute, System.Xml.Schema.SchemaElementDecl.HasRequiredAttribute, System.Xml.Schema.BaseValidator.hasSibling, System.Xml.Schema.BaseValidator.reader, System.Xml.Schema.BaseValidator.SendValidationEvent(), System.Xml.XmlValidatingReaderImpl.StandAlone, and System.Xml.Schema.BaseValidator.textString.

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