-
Notifications
You must be signed in to change notification settings - Fork 3
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
don't warn about most nesting #4
Comments
If A can't split B, then can B split A? This is a split warning: <WORK><A><B></A></B></WORK> Is this? <WORK><B><A></B></A></WORK> |
ubermichael
added a commit
that referenced
this issue
Apr 24, 2015
I can't think of any case where it wouldn't be symmetric. A splits B at the same time that B splits A. |
Add a schema attribute on Tag, noSplit="HW, S, FOO" etc. |
Missing from the list above: SIG, RT, PN, and CW should never cross one another either. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The NestingValidator doesn't need to be quite so picky. Most tags should be allowed to cross without warning or error, including self-nested tags.
There are a few exceptions:
All those mentioned above should be errors, not simply warnings.
The text was updated successfully, but these errors were encountered: