XML validation using dtd and xsd