[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
OzoneProducer
hi,
Can you tell me what the type of documents i should be when using for
the OzoneProducer from the examples. i stored the document using the Store
(from /sample/XML/Store.java)
is have tryied 2 "types" of xml files
xml files with no PI's
and
xml with no PI's using:
<?cocoon-process type="xsp"?>
<?cocoon-process type="xslt"?>
<?xml-stylesheet href="/xsl/main.xsl" type="text/xsl"?>
Both wil give a different error.
thanks
Kees Jongenburger
doc with no PI's
-------------------------------------------------------
Error found handling the request.
java.lang.ClassCastException: org.ozoneDB.xml.dom.DocumentImpl_Proxy
at org.ozoneDB.xml.dom.DocumentImpl_Proxy.getImplementation(DocumentImpl_Proxy.java:454)
at org.apache.xml.serialize.BaseMarkupSerializer.serializeNode(BaseMarkupSerializer.java:841)
at org.apache.xml.serialize.BaseMarkupSerializer.serialize(BaseMarkupSerializer.java:421)
at org.apache.cocoon.formatter.HTMLFormatter.format(HTMLFormatter.java:80)
at org.apache.cocoon.Engine.handle(Engine.java:309)
at org.apache.cocoon.Cocoon.service(Cocoon.java:145)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:309)
at org.apache.jserv.JServConnection.processRequest(JServConnection.java:314)
at org.apache.jserv.JServConnection.run(JServConnection.java, Compiled Code)
at java.lang.Thread.run(Thread.java, Compiled Code)
doc with PI's
-------------------------------------------------------
Error found handling the request.
java.lang.NullPointerException
at org.apache.cocoon.Utils.getFirstPI(Utils.java, Compiled Code)
at org.apache.cocoon.processor.ProcessorFactory.getType(ProcessorFactory.java, Compiled Code)
at org.apache.cocoon.processor.ProcessorFactory.getProcessor(ProcessorFactory.java, Compiled Code)
at org.apache.cocoon.Engine.handle(Engine.java, Compiled Code)
at org.apache.cocoon.Cocoon.service(Cocoon.java, Compiled Code)
at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code)
at org.apache.jserv.JServConnection.processRequest(JServConnection.java, Compiled Code)
at org.apache.jserv.JServConnection.run(JServConnection.java, Compiled Code)
at java.lang.Thread.run(Thread.java, Compiled Code)