Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
JohnAD opened this issue Sep 25, 2014 · 0 comments
Open

Comments

@JohnAD
Copy link
Contributor

JohnAD commented Sep 25, 2014

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant