poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 55484] New: The wrong usage of byte in RGB
Date Mon, 26 Aug 2013 15:13:15 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=55484

            Bug ID: 55484
           Summary: The wrong usage of byte in RGB
           Product: POI
           Version: 3.9-dev
          Hardware: All
                OS: All
            Status: NEW
          Severity: critical
          Priority: P2
         Component: POI Overall
          Assignee: dev@poi.apache.org
          Reporter: wenhua.wang@barcap.com

I found the bug when I used POI 3.7. I thought it must have been found, so I
did not report. Today, when I downloaded  version 3.9, I found the bug was
still there.

The root of the bug is the wrong understanding of type "byte".  The author
thought that "byte" is unsigned, so it was used to represent data range from 0
to 255, e.g. in file HSSFPalette.java, PaleteRecord.java, XSSFColor.java, and
even in the xmlschema generated code, etc. This results completely wrong
results.

This bug spreads in many places, I think this is serious. We'd better fix it in
the version 3.10. I don't have the source of xml schema, so I can not fix that
part. I wish somebody can coordinate this bug fixing.

Thanks.

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


Mime
View raw message