I am creating a docx file using docx4j 2.8.1 and I read some fields from Oracle DB and write it into my file. Some of these fields has data which was saved with different formats like bullets,links,special characters etc. Although the file gets created successfully, when I try to open the file I get the error
'The file cannot be opened because there are problems with the contents. Details : Illegal xml character
Location : ...