Ignore illegal characters for JDOM