cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alan Hodgkinson <a...@softxs.ch>
Subject ESQL DTD? (Was: SQLTransformer good, ESQL good!)
Date Mon, 19 Aug 2002 09:24:29 GMT


Dear All,

Christian Haul wrote:
> 
> On 18.Aug.2002 -- 09:14 PM, Jan Willem Penterman wrote:
> > > This is _really_ strange.
> >
> > Erm, _I_ am really strange...
> > I had my esql:pool tag within the esql:query...
> > Aargh!

Do you mean the pool was within the 'query' or within the
'execute-query'?

> ..[snip].. Mind you, no-one else spotted it either.

And worse.. the Dodds IBM Tutorial, 'Cocoon 2: Build database
driven sites', presents an example that contains the following:

  <esql:connection>
    <esql:execute-query>
      <esql:pool>...</esql:pool>
      <esql:query>...
        ...

In the Cocoon documentation 'How to develop Web Applications', their
example contains:

  <esql:connection>
    <esql:pool>...</esql:pool>
    <esql:execute-query>
      <esql:query>...
        ...

Who's right? Or are they both right? I assume we trust the source.. e.g. 
the Cocoon doc. But it raises a larger question. Are there DTD's or 
other 'reference documentation' that we can go to definitively resolve 
such issues? Is there someplace in the source code that we look (without
having to reverse engineer half of the Jakarta projects :)?

I'm new to Cocoon and it's frustrating to have to trace down these sorts
of errors. RTFM helps, but isn't the complete colution. 

I suffered from the exact same 'No suitable driver' error when trying 
to access mysql using esql. By making the change described above to the 
esql, I've now been able to advance to the 'next error'. There must be
a more efficient way.

Comments, pointers to documentation, DTD files for esql (or other
namespaced cocoon features) would be appreciated.

Many thanks in advance,

Alan Hodgkinson

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

To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message