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

◆ PreprocessAttribute()

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

Definition at line 760 of file SchemaCollectionPreprocessor.cs.

761 {
762 if (attribute.Name != null)
763 {
765 attribute.SetQualifiedName(new XmlQualifiedName(attribute.Name, _targetNamespace));
766 }
767 else
768 {
770 }
771 if (attribute.Use != 0)
772 {
774 }
775 if (attribute.Form != 0)
776 {
778 }
781 }
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)

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

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