13 private NamespaceList namespaceList;
38 return processContents;
42 processContents = value;
47 internal NamespaceList NamespaceList
60 if (processContents != 0)
62 return processContents;
68 internal void BuildNamespaceList(
string targetNamespace)
72 namespaceList =
new NamespaceList(ns, targetNamespace);
76 namespaceList =
new NamespaceList();
80 internal void BuildNamespaceListV1Compat(
string targetNamespace)
84 namespaceList =
new NamespaceListV1Compat(ns, targetNamespace);
88 namespaceList =
new NamespaceList();
92 internal bool Allows(XmlQualifiedName qname)
94 return namespaceList.Allows(qname.Namespace);
97 internal static bool IsSubset(XmlSchemaAnyAttribute sub, XmlSchemaAnyAttribute super)
99 return NamespaceList.IsSubset(sub.NamespaceList, super.NamespaceList);
102 internal static XmlSchemaAnyAttribute Intersection(XmlSchemaAnyAttribute o1, XmlSchemaAnyAttribute o2,
bool v1Compat)
104 NamespaceList namespaceList = NamespaceList.Intersection(o1.NamespaceList, o2.NamespaceList, v1Compat);
105 if (namespaceList !=
null)
107 XmlSchemaAnyAttribute xmlSchemaAnyAttribute =
new XmlSchemaAnyAttribute();
108 xmlSchemaAnyAttribute.namespaceList = namespaceList;
109 xmlSchemaAnyAttribute.ProcessContents = o1.ProcessContents;
110 xmlSchemaAnyAttribute.Annotation = o1.Annotation;
111 return xmlSchemaAnyAttribute;
116 internal static XmlSchemaAnyAttribute Union(XmlSchemaAnyAttribute o1, XmlSchemaAnyAttribute o2,
bool v1Compat)
118 NamespaceList namespaceList = NamespaceList.Union(o1.NamespaceList, o2.NamespaceList, v1Compat);
119 if (namespaceList !=
null)
121 XmlSchemaAnyAttribute xmlSchemaAnyAttribute =
new XmlSchemaAnyAttribute();
122 xmlSchemaAnyAttribute.namespaceList = namespaceList;
123 xmlSchemaAnyAttribute.processContents = o1.processContents;
124 xmlSchemaAnyAttribute.Annotation = o1.Annotation;
125 return xmlSchemaAnyAttribute;
Represents the World Wide Web Consortium (W3C) anyAttribute element.
Represents an attribute. Valid and default values for the attribute are defined in a document type de...
The base class for any element that can contain annotation elements.
XmlSchemaContentProcessing ProcessContents
Gets or sets information about how an application or XML processor should handle the validation of XM...
XmlSchemaContentProcessing
Provides information about the validation mode of any and anyAttribute element replacements.
string Namespace
Gets or sets the namespaces containing the attributes that can be used.