pub fn create_frame(
local_name: &str,
attrs: &AttributeMap,
name_table: &NameTable,
source: Option<SourceRef>,
ns_snapshot: &NamespaceContextSnapshot,
) -> SchemaResult<Box<dyn Frame>>Expand description
Create a frame for the given element
The namespace snapshot is used to resolve QName references in attributes (type, ref, base, substitutionGroup, etc.) during frame construction.