You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2019/08/29 22:37:23 UTC

[Bug 63708] New: Treat Window2 record as optional

https://bz.apache.org/bugzilla/show_bug.cgi?id=63708

            Bug ID: 63708
           Summary: Treat Window2 record as optional
           Product: POI
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HSSF
          Assignee: dev@poi.apache.org
          Reporter: dev@sheetjs.com
  Target Milestone: ---

Context including sample code and a test file:
https://github.com/SheetJS/js-xlsx/issues/1612

The Window2 situation is unclear:

- Excel accepts files without Window2 records
- The [official Binary File Format
Validator](https://www.microsoft.com/en-us/download/details.aspx?id=26794)
accepts files without Window2 records
- The [official
specification](https://docs.microsoft.com/en-us/openspecs/office_file_formats/ms-xls/a1b3d8b4-7442-41fd-9c57-bbd2a6394082)
claims it is required.

The issue here is that we write files without the Window2 record, based on the
fact that Excel and the BFFValidator program both accept them without error. 
However Apache POI is apparently erroring.  Since Excel does not require it and
since the official validator does not require it, the Window2 record should
probably be treated as optional

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org