actually validate against dtd