Added dtd and validation