I use docx4j to modify docx document with tags with data stored in my database. I have some error when the document is created with word 2010, even if the document is empty.
Here is the Error :
- Code: Select all
2013-01-10 15:40:30:039 WARN [ERROR] : unexpected element (uri:"http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing", local:"sizeRelH"). Expect
2013-01-10 15:40:30:039 WARN [ERROR] : unexpected element (uri:"http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing", local:"sizeRelV"). Expect
2013-01-10 15:40:30:040 WARN [ERROR] : unexpected element (uri:"http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing", local:"sizeRelH"). Expect
2013-01-10 15:40:30:040 WARN [ERROR] : unexpected element (uri:"http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing", local:"sizeRelV"). Expect
2013-01-10 15:40:30:041 ERROR No subclass found for /word/media/image1.wmf; defaulting to binary
2013-01-10 15:40:30:041 ERROR No subclass found for /word/stylesWithEffects.xml; defaulting to binary
2013-01-10 15:40:30:047 WARN [ERROR] : unexpected element (uri:"http://schemas.openxmlformats.org/wordprocessingml/2006/main", local:"compatSetting"). Expected
2013-01-10 15:40:30:047 WARN [ERROR] : unexpected element (uri:"http://schemas.openxmlformats.org/wordprocessingml/2006/main", local:"compatSetting"). Expected
2013-01-10 15:40:30:047 WARN [ERROR] : unexpected element (uri:"http://schemas.openxmlformats.org/wordprocessingml/2006/main", local:"compatSetting"). Expected
2013-01-10 15:40:30:047 WARN [ERROR] : unexpected element (uri:"http://schemas.openxmlformats.org/wordprocessingml/2006/main", local:"compatSetting"). Expected
The fist group arrive when we add an image to the document, the second is present even if the document is empty. I don't know what to do to resolve it, maybe will you have a solution to help me?
Thanks !