Prototype for validation against DTD file.