If I write, for example :
<esql:query>
 select * from space where person like <esql:parameter 
type="string">Alex</esql:parameter>
 ...
(I known I don't need the esql:parameter tags here, but see below...)

Then I get an error :
Error compiling index_xsp: Line 303, column 37: ')' expected.

Actually, the generated code is :
try {
  _esql_query.prepared_statement.setString(1,
     this.characters("Alex"););
}

which is obviously incorrect. The generated code gets more broken if you use
something like
<esql:parameter><request:get-parameter name="Alex"/></esql:parameter>

I think this is a big problem, and if some developer manage to fix it, he
would be a real man (or woman)...

-- 
Arnaud Bienvenu
http://www.generasound.com/

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