Hi everyone,
There seem to be some issues with HTML entities (e.g. " " or "–") while converting XHTML to Docx objects. The behaviour can easily be re-produced when editing the ConvertInXHTMLFragment sample (by simpy adding one of the HTML entities to the HTML code).
The error message looks like this:
org.docx4j.org.xhtmlrenderer.exception WARNING:: Unhandled exception. Can't load the XML resource (using TRaX transformer). org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 20; Entität "ndash" wurde referenziert aber nicht deklariert.
Exception ...