Use the XmlParser available in groovy

Groovy < 2.1.9 doesnt have the XmlParser(boolean,boolean,boolean) constructor. For these groovy versions, the default XmlParser() returns an appropriate parser that needs not be tuned.