HI,
I am trying to read xlsx file using org.apache.poi.ss.usermodel.* package.
 I am using poi-bin-3.5-beta1-20080718.jar. but it throws exception 

Exception:  java.io.IOException: org.apache.xmlbeans.XmlException: error:
The document is not a
[EMAIL PROTECTED]://schemas.openxmlformats.org/spreadsheetml/2006/main: document
element namespace mismatch expected
"http://schemas.openxmlformats.org/spreadsheetml/2006/main"; got
"http://schemas.microsoft.com/office/excel/2006/2";
14:52:02,051 INFO  [STDOUT] : 140       at
org.apache.poi.xssf.usermodel.XSSFWorkbook.<init>(XSSFWorkbook.java:318)
14:52:02,051 INFO  [STDOUT] : 140       at
org.apache.poi.ss.usermodel.WorkbookFactory.create(WorkbookFactory.java:62)
-- 
View this message in context: 
http://www.nabble.com/The-document-is-not-a-workbook%40http%3A--schemas.openxmlformats.org-spreadsheetml-2006-main-tp18827556p18827556.html
Sent from the POI - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to