In the JDOM 1.0 beta, when a control character is included that was
prohibited in XML 1.0 but is now allowed in XML 1.1, there is an
IllegalDataException thrown (at least with ASCII 22). Please consider
allowing such characters to pass through, encoding them per the
recommendation.