xml validation gui work