(Fixed bugs) XML validation using DTD