https://issues.apache.org/bugzilla/show_bug.cgi?id=49887
Summary: Inconsistent behaviour between HSSF and XSSF when
creating a sheet with a too long name
Product: POI
Version: 3.7-dev
Platform: PC
Status: NEW
Severity: normal
Priority: P2
Component: HSSF
AssignedTo: [email protected]
ReportedBy: [email protected]
workbook.createSheet(name) with a name of > 30 characters throws an exception
for XSSF workbooks (e.g. "sheetName 'A very very very very very very very very
long name' is invalid - must be 1-30 characters long") while for HSSF workbooks
createSheet just seems to truncate sheet names to 31 characters.
I would expect both XSSF and HSSF to throw an exception stating the correct
number of maximum allowed characters (31 ???).
POI: 3.7-build2
OS: Windows 7 64-bit
Java: 1.6.0_20 64-bit
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]