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

◆ Init()

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

Definition at line 92 of file XsdValidator.cs.

93 {
95 if (_nsManager == null)
96 {
97 _nsManager = new XmlNamespaceManager(base.NameTable);
98 _bManageNamespaces = true;
99 }
100 _validationStack = new HWStack(10);
101 textValue = new StringBuilder();
102 _attPresence = new Hashtable();
103 schemaInfo = new SchemaInfo();
104 checkDatatype = false;
105 _processContents = XmlSchemaContentProcessing.Strict;
106 Push(XmlQualifiedName.Empty);
107 _nsXmlNs = base.NameTable.Add("http://www.w3.org/2000/xmlns/");
108 _nsXs = base.NameTable.Add("http://www.w3.org/2001/XMLSchema");
109 _nsXsi = base.NameTable.Add("http://www.w3.org/2001/XMLSchema-instance");
110 _xsiType = base.NameTable.Add("type");
111 _xsiNil = base.NameTable.Add("nil");
112 _xsiSchemaLocation = base.NameTable.Add("schemaLocation");
113 _xsiNoNamespaceSchemaLocation = base.NameTable.Add("noNamespaceSchemaLocation");
114 _xsdSchema = base.NameTable.Add("schema");
115 }
XmlValidatingReaderImpl reader
void Push(XmlQualifiedName elementName)
XmlSchemaContentProcessing _processContents
XmlNamespaceManager _nsManager
override XmlNamespaceManager NamespaceManager

References System.Xml.Schema.XsdValidator._attPresence, System.Xml.Schema.XsdValidator._bManageNamespaces, System.Xml.Schema.XsdValidator._nsManager, System.Xml.Schema.XsdValidator._nsXmlNs, System.Xml.Schema.XsdValidator._nsXs, System.Xml.Schema.XsdValidator._nsXsi, System.Xml.Schema.XsdValidator._processContents, System.Xml.Schema.XsdValidator._validationStack, System.Xml.Schema.XsdValidator._xsdSchema, System.Xml.Schema.XsdValidator._xsiNil, System.Xml.Schema.XsdValidator._xsiNoNamespaceSchemaLocation, System.Xml.Schema.XsdValidator._xsiSchemaLocation, System.Xml.Schema.XsdValidator._xsiType, System.Xml.Schema.BaseValidator.checkDatatype, System.Xml.Dictionary, System.Xml.XmlQualifiedName.Empty, System.Xml.XmlValidatingReaderImpl.NamespaceManager, System.Xml.Schema.XsdValidator.Push(), System.Xml.Schema.BaseValidator.reader, System.Xml.Schema.BaseValidator.schemaInfo, System.Xml.Schema.BaseValidator.SchemaInfo, and System.Xml.Schema.BaseValidator.textValue.

Referenced by System.Xml.Schema.XsdValidator.XsdValidator(), and System.Xml.Schema.XsdValidator.XsdValidator().