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

◆ PreprocessNotation()

void System.Xml.Schema.Preprocessor.PreprocessNotation ( XmlSchemaNotation notation)
inlineprivate

Definition at line 1696 of file Preprocessor.cs.

1697 {
1698 if (notation.Name != null)
1699 {
1701 notation.QualifiedName = new XmlQualifiedName(notation.Name, _targetNamespace);
1702 }
1703 else
1704 {
1706 }
1707 if (notation.Public == null && notation.System == null)
1708 {
1710 }
1711 else
1712 {
1713 if (notation.Public != null)
1714 {
1715 try
1716 {
1717 XmlConvert.VerifyTOKEN(notation.Public);
1718 }
1720 {
1721 SendValidationEvent(System.SR.Sch_InvalidPublicAttribute, new string[1] { notation.Public }, innerException, notation);
1722 }
1723 }
1724 if (notation.System != null)
1725 {
1727 }
1728 }
1731 }
static string Sch_MissingPublicSystemAttribute
Definition SR.cs:714
static string Sch_InvalidPublicAttribute
Definition SR.cs:1126
static string Sch_InvalidSystemAttribute
Definition SR.cs:1128
static string Sch_MissRequiredAttribute
Definition SR.cs:490
Definition SR.cs:7
void SendValidationEvent(string code, XmlSchemaObject source)
void PreprocessAnnotation(XmlSchemaObject schemaObject)
void ValidateNameAttribute(XmlSchemaObject xso)
void ParseUri(string uri, string code, XmlSchemaObject sourceSchemaObject)
void ValidateIdAttribute(XmlSchemaObject xso)

References System.Xml.Schema.Preprocessor._targetNamespace, System.Xml.Dictionary, System.Xml.Schema.Preprocessor.ParseUri(), System.Xml.Schema.Preprocessor.PreprocessAnnotation(), System.SR.Sch_InvalidPublicAttribute, System.SR.Sch_InvalidSystemAttribute, System.SR.Sch_MissingPublicSystemAttribute, System.SR.Sch_MissRequiredAttribute, System.Xml.Schema.BaseProcessor.SendValidationEvent(), System.Xml.Schema.Preprocessor.ValidateIdAttribute(), System.Xml.Schema.Preprocessor.ValidateNameAttribute(), and System.Xml.XmlConvert.VerifyTOKEN().

Referenced by System.Xml.Schema.Preprocessor.Preprocess().