adding simple MarkupValidator and beginning to plug it in to the parser