Skip to main content

validate_keyref_structure

Function validate_keyref_structure 

Source
pub fn validate_keyref_structure(
    attrs: &AttributeMap,
    name_table: &NameTable,
) -> SchemaResult<()>
Expand description

Validate keyref element structure

  • Must have name or ref attribute
  • refer is required when name is present
  • Child requirements (selector/field) are validated when the frame finishes