pub fn validate_schema_structure(
attrs: &AttributeMap,
name_table: &NameTable,
) -> SchemaResult<()>Expand description
Validate xs:schema document structure
targetNamespace, when present, must not be the empty string (Schema Representation Constraint: targetNamespace cannot be empty per §3.1.6 / §3.1.5).
Note: schema targetNamespace = XSI namespace is technically reserved per
§3.16.2 but the MS suite includes both valid (attKb018) and invalid
(attKb018a) outcomes for the same schema. The narrower check —
rejecting individual attribute declarations in the XSI namespace — is
implemented in validate_no_xsi_attribute_declarations and that aligns
with both interpretations.