upgrade xml validation