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 2017/03/17 08:39:57 UTC

[Bug 60879] New: Handle xlsb (BETA) more cleanly

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

            Bug ID: 60879
           Summary: Handle xlsb (BETA) more cleanly
           Product: POI
           Version: 3.16-dev
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSSF
          Assignee: dev@poi.apache.org
          Reporter: tallison@mitre.org
  Target Milestone: ---

This may actually be two separate issues.

1) While working on 60826, I found that at least one xlsb file in our unit
tests is xlsb "BETA".  Excel 2016 refuses to open it: 

'"Simple.xlsb" cannot be opened because it was last saved using a Beta version
of Excel that is no longer supported.  To open the file, first use a supported
version of Excel to save the file and then try again.'

2) I thought I found an xlsb with a styles.xml instead of a styles.bin.  I'm
not able to locate it now, but will update this issue when I find it.

The current xlsb parser isn't able to handle 1) or 2).  We should either fix it
handle those or have it throw an exception.

-- 
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


[Bug 60879] Handle xlsb (BETA) more cleanly

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=60879

Dominik Stadler <do...@gmx.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All
           Severity|normal                      |enhancement

-- 
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


[Bug 60879] Handle xlsb (BETA) more cleanly

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=60879

Tim Allison <ta...@mitre.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Tim Allison <ta...@mitre.org> ---
I'm bailing on 2).  I can't find the file.  I'll blame flu-induced
hallucinations.

On 1), it looks like there is a difference in the BrtBundleSh object.  Once we
modify that to read the old version, the rest of Simple.xlsb parses.  We
log/warn that the file was written by a beta version of Excel, and we hope for
the best.

In the future, we may want to throw an Exception and give up. 

r1787832

-- 
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