Validate markup by default
Note validation errors but do not abort
More changes
Refactoring