Hi, I am trying to read an XLSX file using the eventuser model of POI. But I'm stuck at this point.
The OPCPackage's open method uses an InputStream as the parameter, to construct this InputStream from an InputSource ( having a character stream) I use the ReaderInputStream class. After this conversion, when the processAllSheets method is called, the OPCPackage throws an exception while opening this InputStream ( happens for all xlsx files) org.apache.poi.openxml4j.exceptions.InvalidFormatException: Package should contain a content type part [M1.13] at org.apache.poi.openxml4j.opc.ZipPackage.getPartsImpl(ZipPackage.java:147) at org.apache.poi.openxml4j.opc.OPCPackage.getParts(OPCPackage.java:592) at org.apache.poi.openxml4j.opc.OPCPackage.open(OPCPackage.java:222) -- Thanks
