On 06.Jul.2001 -- 03:07 PM, Marco Spinetti wrote:
> I saw prova_xsp.java and I found this code:
> ........
> while (_esql_query.resultset.next()) {
>                 this.characters("\n\t\t\t\t\trowNum = ");
>                 (_esql_query.resultset.getInt("result"))

The above is not terminated. And if it were, it doesn't work since you
need to do something with the result.

>                 this.characters(";\n\t\t\t\t\t");
>                 if (_esql_connection.use_limit_clause ==
>                     0 && _esql_query.max_rows != -1 &&
>                     _esql_query.position -
>                     _esql_query.skip_rows ==
>                     _esql_query.max_rows - 1) {
>                   _esql_query.position++;
>                   break;
>                 }
>                 _esql_query.position++;
>               }
> ........
> but I don't see any error. Am I mistake?
> Marco

Well, I do.

I don't see why this happens, since <esql:get-int/> gets replaced by
<xsp:expr>_esq......</xsp:expr> which would output the value as XML
text node. I reckon you'll need to post all of your code, so we could
have a better look at it.

I've got to leave now but I'll try to look at it tomorrow if nobody
else finds the problem.

        Chris.

-- 
C h r i s t i a n       H a u l
[EMAIL PROTECTED]
    fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to