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

◆ ProcessTokenizedType()

void System.Xml.Schema.XsdValidator.ProcessTokenizedType ( XmlTokenizedType ttype,
string name )
inlineprivate

Definition at line 626 of file XsdValidator.cs.

627 {
628 switch (ttype)
629 {
630 case XmlTokenizedType.ID:
631 if (FindId(name) != null)
632 {
634 }
635 else
636 {
637 AddID(name, context.LocalName);
638 }
639 break;
640 case XmlTokenizedType.IDREF:
641 {
642 object obj = FindId(name);
643 if (obj == null)
644 {
645 _idRefListHead = new IdRefNode(_idRefListHead, name, base.PositionInfo.LineNumber, base.PositionInfo.LinePosition);
646 }
647 break;
648 }
649 case XmlTokenizedType.ENTITY:
650 BaseValidator.ProcessEntity(schemaInfo, name, this, base.EventHandler, reader.BaseURI, base.PositionInfo.LineNumber, base.PositionInfo.LinePosition);
651 break;
652 case XmlTokenizedType.IDREFS:
653 break;
654 }
655 }
static string Sch_DupId
Definition SR.cs:410
Definition SR.cs:7
BaseValidator(BaseValidator other)
void SendValidationEvent(string code)
XmlValidatingReaderImpl reader
void AddID(string name, object node)
override object FindId(string name)

References System.Xml.Schema.XsdValidator._idRefListHead, System.Xml.Schema.XsdValidator.AddID(), System.Xml.XmlValidatingReaderImpl.BaseURI, System.Xml.Schema.BaseValidator.context, System.Xml.Dictionary, System.Xml.Schema.XsdValidator.FindId(), System.Xml.Schema.ValidationState.LocalName, System.obj, System.Xml.Schema.BaseValidator.ProcessEntity(), System.Xml.Schema.BaseValidator.reader, System.SR.Sch_DupId, System.Xml.Schema.BaseValidator.schemaInfo, and System.Xml.Schema.BaseValidator.SendValidationEvent().

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