You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Jay <bl...@teleport.com> on 2001/03/16 21:13:50 UTC

ESQL problems

I know this question has been asked before, but there is still no definitive
answer that I've come across.

I'm using Windows NT, Cocoon 1.8, and tomcat (no apache).

I can't get the XSP processor to process the ESQL tags.

In cocoon.properies I have the line:
processor.xsp.logicsheet.esql.java     =
resource://org/apache/cocoon/processor/xsp/library/sql/esql.xsl

In my xml file I have:
<xsp:page
  language="java"
  xmlns:esql="http://apache.org/1999/SQL/v2"
  xmlns:xsp="http://www.apache.org/1999/XSP/Core"
  xmlns:request="http://www.apache.org/1999/XSP/Request"
>

I do NOT use an <?xml-logicsheet> tag in my xml.

It was suggested that in the cocoon.properties file, 'resource' should be
changed to file and pointed at the actual file on the filesystem.  Is that
the case and what is the syntax for a (Windows) file that is at
d:\tomcat\src\esql.xsl?

Thanks in advance for your help.


---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


Re: ESQL problems

Posted by Sebastien Koechlin <sk...@ivision.fr>.
Jay wrote:

> I can't get the XSP processor to process the ESQL tags.
(...)
> In my xml file I have:
> <xsp:page
>   language="java"
>   xmlns:esql="http://apache.org/1999/SQL/v2"
>   xmlns:xsp="http://www.apache.org/1999/XSP/Core"
>   xmlns:request="http://www.apache.org/1999/XSP/Request"

Your namespace is wrong, it's
	xmlns:esql="http://apache.org/cocoon/SQL/v2"

Unfortunately, http://xml.apache.org/cocoon/esql.html
is wrong and should be corrected as soon as possible.

We can also add this to the FAQ.

Using the bad namespace, you get your esql XML elements
in the produced XML.

-- 
Sébastien Koechlin - IVision - skoechlin@ivision.fr

---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>