pub struct Wildcard {
pub namespaces: NamespaceConstraint,
pub process_contents: ProcessContents,
pub not_qnames: Vec<QName>,
pub not_namespaces: Vec<Option<Arc<str>>>,
pub not_qname_defined: bool,
pub not_qname_defined_sibling: bool,
}Expand description
<xs:any> / <xs:anyAttribute> wildcard configuration.
Fields§
§namespaces: NamespaceConstraint§process_contents: ProcessContents§not_qnames: Vec<QName>XSD 1.1 § 3.10.4 notQName — element/attribute names excluded
from the wildcard’s match set. Empty in 1.0 mode (the parser
rejects the attribute there); only populated when the schema
was compiled under SchemaVersion::Xsd11.
not_namespaces: Vec<Option<Arc<str>>>XSD 1.1 § 3.10.4 notNamespace — namespaces excluded from
the wildcard’s match set. Shape matches
NamespaceConstraint::List — None entries are the
no-namespace (##local); ##targetNamespace is resolved
at parse time.
not_qname_defined: boolXSD 1.1 § 3.10.4 — the ##defined token in a notQName
list, meaning “any element/attribute with a top-level
declaration in this schema.” Enforced at validation time:
element wildcards consult the schema’s element table, and
xs:anyAttribute wildcards consult the attribute table.
not_qname_defined_sibling: boolXSD 1.1 § 3.10.4 — the ##definedSibling token, meaning
“any element/attribute declared as a sibling in the
enclosing complex type.” Enforced at validation time
against the type’s static element-decl set (for xs:any)
or attribute-use set (for xs:anyAttribute).