add dtd protocol xml validation