poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Burch <apa...@gagravarr.org>
Subject Re: org.apache.poi.poifs.filesystem.OfficeXmlFileException: The supplied data appears to be in the Office 2007+ XML.
Date Thu, 01 Nov 2012 15:58:07 GMT
On Thu, 1 Nov 2012, ven12344 wrote:
> ok, I have changed the code as you said and now I am getting this exception
> org.apache.poi.POIXMLException:
> org.apache.poi.openxml4j.exceptions.InvalidFormatException: Package should
> contain a content type part [M1.13]

Are you sure you've really got a word file? Can word really open it 
without errors? That error is normally received when you have something 
with a .docx extension that isn't in fact a .docx file, but is instead 
some other sort of zip


To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org

View raw message