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

◆ CheckForwardRefs()

void System.Xml.Schema.DtdValidator.CheckForwardRefs ( )
inlineprivate

Definition at line 455 of file DtdValidator.cs.

456 {
457 IdRefNode idRefNode = _idRefListHead;
458 while (idRefNode != null)
459 {
460 if (FindId(idRefNode.Id) == null)
461 {
462 SendValidationEvent(new XmlSchemaException(System.SR.Sch_UndeclaredId, idRefNode.Id, reader.BaseURI, idRefNode.LineNo, idRefNode.LinePos));
463 }
464 IdRefNode next = idRefNode.Next;
465 idRefNode.Next = null;
466 idRefNode = next;
467 }
468 _idRefListHead = null;
469 }
static string Sch_UndeclaredId
Definition SR.cs:418
Definition SR.cs:7
void SendValidationEvent(string code)
XmlValidatingReaderImpl reader
override object FindId(string name)

References System.Xml.Schema.DtdValidator._idRefListHead, System.Xml.XmlValidatingReaderImpl.BaseURI, System.Xml.Dictionary, System.Xml.Schema.DtdValidator.FindId(), System.Xml.Schema.IdRefNode.Next, System.Xml.Schema.BaseValidator.reader, System.SR.Sch_UndeclaredId, and System.Xml.Schema.BaseValidator.SendValidationEvent().

Referenced by System.Xml.Schema.DtdValidator.CompleteValidation().