Skip to content

generate errors when legit SCHEMA elements are in the wrong context #6

@JohnAD

Description

@JohnAD

Not much context checking occurs right now. So,

name joe
    value
        type boolean
        name larry

does not generate an error message even though a name element has no meaning in the value context. It should probably be:

name joe
    value
        type boolean
    name larry

which simply makes larry a descendant of joe.

Really, all the elements should be checked for context, but handling name is highest priority IMO.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions