poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 17582] New: - Formula Parser cannot parse formulas containing non-alphabetical characters
Date Mon, 03 Mar 2003 09:41:25 GMT
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=17582>.
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=17582

Formula Parser cannot parse formulas containing non-alphabetical characters

           Summary: Formula Parser cannot parse formulas containing non-
                    alphabetical characters
           Product: POI
           Version: unspecified
          Platform: PC
        OS/Version: Other
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: HSSF
        AssignedTo: poi-dev@jakarta.apache.org
        ReportedBy: ext-jens.riis@nokia.com


The formulaparser fails when text contains no alpha characters (e.g) giving the 
argument "(" & F3 & ")" throws an exception. The code in 
org.apache.poi.hssf.model.FormulaParser.StringLiteral() executes the method 
GetNameAsIs() which in turn calls isAlpha() that only allows for alphabetic 
characters which of course is to limited for a formula like the above.

Mime
View raw message