Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Report removing unrecognized elements. #1287
Fixes the problem of silently removing unrecognized elements. Uses the same code pattern and methodology as
See this comment where the issue was recreated.
westonruter left a comment
Looking good so far, other than the condition of when there is no parent node and no child nodes. This should also get unit tests to check for the new scenarios for when validation errors can be reported for the various removals of invalid elements.