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

◆ ProcessEntity() [1/2]

static void System.Xml.Schema.BaseValidator.ProcessEntity ( SchemaInfo sinfo,
string name,
IValidationEventHandling eventHandling,
string baseUriStr,
int lineNumber,
int linePosition )
inlinestaticprotectedinherited

Definition at line 283 of file BaseValidator.cs.

284 {
285 string text = null;
286 if (!sinfo.GeneralEntities.TryGetValue(new XmlQualifiedName(name), out var value))
287 {
289 }
290 else if (value.NData.IsEmpty)
291 {
293 }
294 if (text != null)
295 {
296 XmlSchemaException ex = new XmlSchemaException(text, name, baseUriStr, lineNumber, linePosition);
297 if (eventHandling == null)
298 {
299 throw ex;
300 }
301 eventHandling.SendEvent(ex, XmlSeverityType.Error);
302 }
303 }
static string Sch_UndeclaredEntity
Definition SR.cs:748
static string Sch_UnparsedEntityRef
Definition SR.cs:750
Definition SR.cs:7

References System.Xml.Dictionary, System.SR.Sch_UndeclaredEntity, System.SR.Sch_UnparsedEntityRef, System.text, and System.value.