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

◆ FindSchemaInfo() [1/2]

XmlSchemaAttribute System.Xml.DocumentSchemaValidator.FindSchemaInfo ( XmlAttribute attributeToValidate)
inlineprivate

Definition at line 497 of file DocumentSchemaValidator.cs.

498 {
499 XmlElement ownerElement = attributeToValidate.OwnerElement;
502 if (complexType == null)
503 {
504 return null;
505 }
506 XmlQualifiedName xmlQualifiedName = new XmlQualifiedName(attributeToValidate.LocalName, attributeToValidate.NamespaceURI);
508 if (xmlSchemaAttribute == null)
509 {
511 if (attributeWildcard != null && attributeWildcard.NamespaceList.Allows(xmlQualifiedName))
512 {
514 }
515 }
516 return xmlSchemaAttribute;
517 }
XmlSchemaComplexType GetComplexType(XmlSchemaObject schemaObject)
XmlSchemaObject FindSchemaInfo(XmlElement elementToValidate)
XmlSchemaObjectTable GlobalAttributes

References System.Xml.DocumentSchemaValidator._schemas, System.Xml.Dictionary, System.Xml.DocumentSchemaValidator.FindSchemaInfo(), System.Xml.DocumentSchemaValidator.GetComplexType(), and System.Xml.Schema.XmlSchemaSet.GlobalAttributes.