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

◆ XmlSchema

XmlSchema?? System.Xml.Serialization.XmlSchemas.XmlSchema
staticgetpackage

Definition at line 123 of file XmlSchemas.cs.

124 {
125 get
126 {
127 if (s_xml == null)
128 {
129 s_xml = System.Xml.Schema.XmlSchema.Read(new StringReader("<?xml version='1.0' encoding='UTF-8' ?>\r\n<xs:schema targetNamespace='http://www.w3.org/XML/1998/namespace' xmlns:xs='http://www.w3.org/2001/XMLSchema' xml:lang='en'>\r\n <xs:attribute name='lang' type='xs:language'/>\r\n <xs:attribute name='space'>\r\n <xs:simpleType>\r\n <xs:restriction base='xs:NCName'>\r\n <xs:enumeration value='default'/>\r\n <xs:enumeration value='preserve'/>\r\n </xs:restriction>\r\n </xs:simpleType>\r\n </xs:attribute>\r\n <xs:attribute name='base' type='xs:anyURI'/>\r\n <xs:attribute name='id' type='xs:ID' />\r\n <xs:attributeGroup name='specialAttrs'>\r\n <xs:attribute ref='xml:base'/>\r\n <xs:attribute ref='xml:lang'/>\r\n <xs:attribute ref='xml:space'/>\r\n </xs:attributeGroup>\r\n</xs:schema>"), null);
130 }
131 return s_xml;
132 }
133 }
static ? XmlSchema Read(TextReader reader, ValidationEventHandler? validationEventHandler)
Definition XmlSchema.cs:432
static volatile XmlSchema s_xml
Definition XmlSchemas.cs:28

Referenced by System.Xml.Serialization.SchemaImporter.SchemaImporter(), System.Xml.Serialization.XmlSchemas.CreateFakeXsdSchema(), System.Xml.Serialization.XmlSchemas.CreateValidationException(), System.Xml.Serialization.XmlSchemas.GetSchemaItem(), and System.Xml.Serialization.XmlSchemas.Merge().