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 2015/05/15 19:56:00 UTC

[Bug 57930] New: XSSF sample SAX code does not handle inlineStr cells

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

            Bug ID: 57930
           Summary: XSSF sample SAX code does not handle inlineStr cells
           Product: POI
           Version: 3.11-FINAL
          Hardware: PC
                OS: Mac OS X 10.1
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSSF
          Assignee: dev@poi.apache.org
          Reporter: pj.fanning@workday.com

The sample code is in:
http://svn.apache.org/repos/asf/poi/trunk/src/examples/src/org/apache/poi/xssf/eventusermodel/examples/FromHowTo.java

The sample handles this well:
<c r="A2" t="str">
  <v>sample</v>
</c>

But it doesn't handle this format:
<c r="A2">
  <is><t>sample</t></is>
</c> 

I can provide a modified FromHowTo.java if that helps.

-- 
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 57930] XSSF sample SAX code does not handle inlineStr cells

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

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

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

--- Comment #2 from Dominik Stadler <do...@gmx.at> ---
Applied via r1737247, thanks for the Patch!

I only applied the changes for inline strings and did not switch to
StringBuilder as I don't think it will change much as almost always the whole
string is sent in one go and we would be constructing additional StringBuilders
for every string this ways, let me know if you think it actually is required or
has a large performance gain.

-- 
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 57930] XSSF sample SAX code does not handle inlineStr cells

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |PatchAvailable
           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 57930] XSSF sample SAX code does not handle inlineStr cells

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

--- Comment #1 from PJ Fanning <pj...@workday.com> ---
Created attachment 32739
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=32739&action=edit
Attaching java code that can handle inlineStr format

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