poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Krupets" <pkrup...@yahoo.com>
Subject GenericFormulaTestCase Bug
Date Wed, 26 Sep 2007 15:51:37 GMT

Not sure why, but when expression is parsed it produces correct result. When
it's loaded from the file (not sure how you do this, whether you store
parsed expression there or expression string) it produces invalid result.

Fault might be in:

            if (boolLit) {
                tokens.add(new BoolPtg(name));
            } else if (cellRef) {
                tokens.add(new ReferencePtg(name));

When I parse formula 1st 'if' is true when it's loaded from the file 2nd is
true. This is strange because both FormulaParser and HSSFFormulaEvaluator
seems to be functioning without errors. 

Any comments?

With regards,
Pavel Krupets

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

View raw message