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

◆ Init()

void System.Xml.Schema.XmlSchemaValidator.Init ( )
inlineprivate

Definition at line 350 of file XmlSchemaValidator.cs.

351 {
352 _validationStack = new HWStack(10);
353 _attPresence = new Hashtable();
354 Push(XmlQualifiedName.Empty);
357 _currentState = ValidatorState.None;
358 _textValue = new StringBuilder(100);
359 _xmlResolver = null;
360 _contextQName = new XmlQualifiedName();
361 Reset();
363 _nsXs = _nameTable.Add("http://www.w3.org/2001/XMLSchema");
364 _nsXsi = _nameTable.Add("http://www.w3.org/2001/XMLSchema-instance");
365 _nsXmlNs = _nameTable.Add("http://www.w3.org/2000/xmlns/");
366 _nsXml = _nameTable.Add("http://www.w3.org/XML/1998/namespace");
367 _xsiTypeString = _nameTable.Add("type");
369 _xsiSchemaLocationString = _nameTable.Add("schemaLocation");
370 _xsiNoNamespaceSchemaLocationString = _nameTable.Add("noNamespaceSchemaLocation");
371 }
void Push(XmlQualifiedName elementName)
static readonly IXmlLineInfo s_dummyPositionInfo
string Add(char[] array, int offset, int length)

References System.Xml.Schema.XmlSchemaValidator._attPresence, System.Xml.Schema.XmlSchemaValidator._contextQName, System.Xml.Schema.XmlSchemaValidator._currentState, System.Xml.Schema.XmlSchemaValidator._nameTable, System.Xml.Schema.XmlSchemaValidator._nsXml, System.Xml.Schema.XmlSchemaValidator._nsXmlNs, System.Xml.Schema.XmlSchemaValidator._nsXs, System.Xml.Schema.XmlSchemaValidator._nsXsi, System.Xml.Schema.XmlSchemaValidator._positionInfo, System.Xml.Schema.XmlSchemaValidator._textValue, System.Xml.Schema.XmlSchemaValidator._validationEventSender, System.Xml.Schema.XmlSchemaValidator._validationStack, System.Xml.Schema.XmlSchemaValidator._xmlResolver, System.Xml.Schema.XmlSchemaValidator._xsiNilString, System.Xml.Schema.XmlSchemaValidator._xsiNoNamespaceSchemaLocationString, System.Xml.Schema.XmlSchemaValidator._xsiSchemaLocationString, System.Xml.Schema.XmlSchemaValidator._xsiTypeString, System.Xml.XmlNameTable.Add(), System.Xml.XmlQualifiedName.Empty, System.Xml.Schema.XmlSchemaValidator.Push(), System.Xml.Schema.XmlSchemaValidator.RecompileSchemaSet(), System.Xml.Schema.XmlSchemaValidator.Reset(), and System.Xml.Schema.XmlSchemaValidator.s_dummyPositionInfo.

Referenced by System.Xml.Schema.XmlSchemaValidator.XmlSchemaValidator().