ASF Bugzilla – Attachment 24844 Details for
Bug 48544
Example code XLSX2CSV fails when shared string table is missing
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Patch to ReadOnlySharedStringTable class constructor
rosst-patch.txt (text/plain), 650 bytes, created by
Chris Lott
on 2010-01-14 07:57:40 UTC
(
hide
)
Description:
Patch to ReadOnlySharedStringTable class constructor
Filename:
MIME Type:
Creator:
Chris Lott
Created:
2010-01-14 07:57:40 UTC
Size:
650 bytes
patch
obsolete
> --- ReadonlySharedStringsTable.java 13 Nov 2009 14:46:56 -0000 1.4 > +++ ReadonlySharedStringsTable.java 14 Jan 2010 15:49:34 -0000 > @@ -61,8 +61,11 @@ > throws IOException, SAXException, ParserConfigurationException { > ArrayList<PackagePart> parts = > pkg.getPartsByContentType(XSSFRelation.SHARED_STRINGS.getContentType()); > - PackagePart sstPart = parts.get(0); > - readFrom(sstPart.getInputStream()); > + // Some workbooks have no shared strings table. > + if (parts.size() > 0) { > + PackagePart sstPart = parts.get(0); > + readFrom(sstPart.getInputStream()); > + } > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 48544
: 24844