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 2003/09/11 08:34:50 UTC

DO NOT REPLY [Bug 23094] New: - FormulaParser cannot handle "http://" inside a string literal

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=23094>.
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=23094

FormulaParser cannot handle "http://" inside a string literal

           Summary: FormulaParser cannot handle "http://" inside a string
                    literal
           Product: POI
           Version: 2.0-pre3
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: HSSF
        AssignedTo: poi-dev@jakarta.apache.org
        ReportedBy: lists@aviksengupta.com


Mail from feely dot jp at pg dot com

>I think I have run into a bug when using a Hyperlink formula.
> 
> My code is simply trying to insert a hyperlink into a cell, calling the
> setCellFormula on a cell I have created:
> 
> cell.setCellFormula( "HYPERLINK( \"http://jakarta.apache.org\", \"Jakarta\" )"
> );
> 
> This always gets a Runtime Exception in the FormulaParser.
> 
> However, if you call
> cell.setCellFormula( "HYPERLINK( \"jakarta\", \"Jakarta\" )" );
> then it works (but does not give the desired results).
> 
>  It appears to me that the FormulaParser treats BOTH the : and . characters as
> meaningful and won't allow an http:// string to be passed through.

---------------------------------------------------------------------
To unsubscribe, e-mail: poi-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: poi-dev-help@jakarta.apache.org