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

◆ PreprocessAttribute()

void System.Xml.Schema.Preprocessor.PreprocessAttribute ( XmlSchemaAttribute attribute)
inlineprivate

Definition at line 1011 of file Preprocessor.cs.

1012 {
1013 if (attribute.Name != null)
1014 {
1016 attribute.SetQualifiedName(new XmlQualifiedName(attribute.Name, _targetNamespace));
1017 }
1018 else
1019 {
1021 }
1022 if (attribute.Use != 0)
1023 {
1025 }
1026 if (attribute.Form != 0)
1027 {
1029 }
1032 }
static string Sch_ForbiddenAttribute
Definition SR.cs:544
static string Sch_MissRequiredAttribute
Definition SR.cs:490
Definition SR.cs:7
void SendValidationEvent(string code, XmlSchemaObject source)
void PreprocessAttributeContent(XmlSchemaAttribute attribute)
void ValidateNameAttribute(XmlSchemaObject xso)
void ValidateIdAttribute(XmlSchemaObject xso)

References System.Xml.Schema.Preprocessor._targetNamespace, System.Xml.Schema.Preprocessor.PreprocessAttributeContent(), System.SR.Sch_ForbiddenAttribute, System.SR.Sch_MissRequiredAttribute, System.Xml.Schema.BaseProcessor.SendValidationEvent(), System.Xml.Schema.Preprocessor.ValidateIdAttribute(), and System.Xml.Schema.Preprocessor.ValidateNameAttribute().

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