This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
JDOM api and dealing with XML 1.0 non-compliant chars
The setText and addContent method of org.jdom.Element throw an exception when given an illegal char (non compliant XML 1.0 char). By illegal I don't mean <, > (those are escapable chars not necessarily illegal).