cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Russell Castagnaro <russ...@synctank.com>
Subject Help with Taglib
Date Thu, 22 Jun 2000 13:00:42 GMT
I'm trying to execute a simple query that works with the SQLProcessor but I'm
getting the following error:

java.lang.NoSuchMethodError: org.w3c.dom.Node: method normalize()V not found
               at
org.apache.xerces.dom.ElementImpl.normalize(ElementImpl.java:290)
               at
org.apache.cocoon.processor.xsp.language.java.XSPJavaPreprocessor.process(XSPJavaPreprocessor.java:116)

               at
org.apache.cocoon.processor.xsp.language.java.XSPJavaPreprocessor.process(XSPJavaPreprocessor.java:123)

               at
org.apache.cocoon.processor.xsp.language.java.XSPJavaPreprocessor.preprocess(XSPJavaPreprocessor.java:81)

               at
org.apache.cocoon.processor.xsp.XSPLogicsheet.apply(XSPLogicsheet.java:99)
               at
org.apache.cocoon.processor.xsp.XSPProcessor.process(XSPProcessor.java:385)
               at org.apache.cocoon.Engine.handle(Engine.java:305)
               at org.apache.cocoon.Cocoon.service(Cocoon.java:167)
               at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
               at
org.apache.jserv.JServConnection.processRequest(JServConnection.java:335)
               at org.apache.jserv.JServConnection.run(JServConnection.java:197)

               at java.lang.Thread.run(Thread.java:485)

Here is the entry
<?xml-stylesheet href="/xsl/select.xsl" type="text/xsl"?>
<?cocoon-process type="xsp"?>

<xsp:page
  language="java"
  xmlns:sql="http://www.apache.org/1999/SQL"
  xmlns:xsp="http://www.apache.org/1999/XSP/Core"
>

  <page title="SQL Search Results">

   <sql:execute-query>
  <sql:driver>org.gjt.mm.mysql.Driver</sql:driver>
  <sql:dburl>jdbc:mysql://myhost/mydb</sql:dburl>
  <sql:username>user</sql:username>
  <sql:password>pass</sql:password>
  <sql:doc-element>Area</sql:doc-element>
  <sql:row-element>SELECT</sql:row-element>
  <sql:id-attribute-column>ID</sql:id-attribute-column>
  <sql:tag-case>lower</sql:tag-case>
  <sql:null-indicator>yes</sql:null-indicator>
  <sql:id-attribute>ID</sql:id-attribute>
  <sql:query>SELECT ID,NAME from AREA</sql:query>
 </sql:execute-query>

  </page>

</xsp:page>

Any Ideas??

Thanks


Mime
View raw message