Fixed xml validation script