working on XML validation