Skip to main content

validate_restriction_structure

Function validate_restriction_structure 

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

Validate restriction element structure

  • Must have base attribute XOR inline type definition