Hi!
On executing the following code
try {
File f = new File(filename);
wordMLPackage = WordprocessingMLPackage.load(f);
} catch (Docx4JException e1) {
throw new GeneratorException("Wrong document",e1);
}
I got an exception. I have no idea why it happens, could you please help?
com.sun.xml.internal.bind.v2.runtime.IllegalAnnotationsException: 3 counts of IllegalAnnotationExceptions
@XmlAttribute/@XmlValue need to reference a Java type that maps to text in XML.
this problem is related to the following location:
at protected javax.xml.datatype.XMLGregorianCalendar org.docx4j.wml.CTTrackChange.date
at org.docx4j.wml.CTTrackChange
at org.docx4j.wml.CTRPrChange ...