DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21248>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21248

[PATCH] Update POI to version 1.10.0

           Summary: [PATCH] Update POI to version 1.10.0
           Product: Cocoon 2
           Version: 2.1m2
          Platform: All
               URL: http://jakarta.apache.org/builds/jakarta-
                    poi/dev/bin/jakarta-poi-1.10.0-dev-bin.tar.gz
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: core
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


The POI block currently contains jakarta-poi-1.7.0-dev-20020624.jar.
In this version HSSFCell.getStringValue() does not read correctly iso-8859-1 
encoded strings.  (Umlauts are mutilated.)

This bug is already fixed in jakarta-poi-1.10.0-dev-20030222.jar.  Here are the 
changes which need to be applied to Cocoon2.1m2:

Index: lib/jars.xml
===================================================================
RCS file: /home/repository/eservices/cocoon-2.1/lib/jars.xml,v
retrieving revision 1.1.1.2
diff -u -r1.1.1.2 jars.xml
--- jars.xml    2003/06/03 20:26:30     1.1.1.2
+++ jars.xml    2003/07/01 21:29:47
@@ -477,7 +477,7 @@
    format using pure Java.
   </description>
   <used-by>MS Excel serializer(poi block)</used-by>
-  <lib>poi/lib/jakarta-poi-1.7.0-dev-20020624.jar</lib>
+  <lib>poi/lib/jakarta-poi-1.10.0-dev-20030222.jar</lib>
   <homepage>http://jakarta.apache.org/poi/</homepage>
  </file>
 
Index: 
src/blocks/poi/java/org/apache/cocoon/components/elementprocessor/impl/poi/hssf/
elements/EPStyle.java
===================================================================
RCS file: /home/repository/eservices/cocoon-
2.1/src/blocks/poi/java/org/apache/cocoon/components/elementprocessor/impl/poi/h
ssf/elements/EPStyle.java,v
retrieving revision 1.1.1.2
diff -u -r1.1.1.2 EPStyle.java
--- EPStyle.java        2003/06/03 20:37:21     1.1.1.2
+++ EPStyle.java        2003/07/01 17:11:49
@@ -205,7 +205,7 @@
             if (!format.equals("General")) {
                 format = kludgeForGnumericMisformats(format);
                 format = kludgeForGnumericDateDivergence(format);
-                short nformat = 
org.apache.poi.hssf.usermodel.HSSFDataFormat.getFormat(format);
+                short nformat = 
org.apache.poi.hssf.usermodel.HSSFDataFormat.getBuiltinFormat(format);
                 getLogger().debug("setting format to "+ nformat);
                 style.setDataFormat(nformat);
             }
cvs diff: src/blocks/poi/lib/jakarta-poi-1.10.0-dev-20030222.jar is a new 
entry, no comparison available
cvs diff: src/blocks/poi/lib/jakarta-poi-1.7.0-dev-20020624.jar was removed, no 
comparison available

Reply via email to