CMS-4392 Use w3c dom instead of jdom.