You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by sunil <su...@gainskeeper.com> on 2000/04/25 21:33:17 UTC
org.apache.xml.serialize.BaseMarkupSerializer.printDoctypeURL
Hi folks,
I have installed cocoon on win98 with Apache, Jserv, JSDK and also JRUN. When I execute any XML files along with XSL it works but when I try cocoon.xml, I get BaseMarkupSerializer error.
Error found handling the request.
java.lang.NullPointerException
at org.apache.xml.serialize.BaseMarkupSerializer.printDoctypeURL(BaseMarkupSerializer.java, Compiled Code)
at org.apache.xml.serialize.BaseMarkupSerializer.unparsedEntityDecl(BaseMarkupSerializer.java:638)
at org.apache.xml.serialize.BaseMarkupSerializer.serializeNode(BaseMarkupSerializer.java, Compiled Code)
at org.apache.xml.serialize.BaseMarkupSerializer.serialize(BaseMarkupSerializer.java:385)
at org.apache.cocoon.formatter.HTMLFormatter.format(HTMLFormatter.java:80)
at org.apache.cocoon.Engine.handle(Engine.java, Compiled Code)
at org.apache.cocoon.Cocoon.service(Cocoon.java:145)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
at org.apache.jserv.JServConnection.processRequest(JServConnection.java:314)
at org.apache.jserv.JServConnection.run(JServConnection.java:188)
at java.lang.Thread.run(Thread.java:479)
Any observations, thoughts, advice, etc. would be appreciated
Thanks
Sunil
Re: org.apache.xml.serialize.BaseMarkupSerializer.printDoctypeURL
Posted by sunil <su...@gainskeeper.com>.
I don't understand where is the problem..since I am getting the same error with Jserv and Jrun it is some thing to do with Cocoon.
When I run the latest version of presentation I can see only the first slide, the link to next shows the same slide after a long time. I did the same things you did to run the presentation.
Can you let me know which file needs to be checked
----- Original Message -----
From: Rajkumar, Joseph
To: cocoon-users@xml.apache.org
Sent: Tuesday, April 25, 2000 5:43 PM
Subject: Re: org.apache.xml.serialize.BaseMarkupSerializer.printDoctypeURL
Hi
Just now, I got those two files from CVS, check the sizes
darkness-novel.xml 7089 bytes and novel-fo.xsl 2375 bytes
and they display just fine with Apache-1.3.12, ApacheJServ, and
the latest Cocoon ie 1.7.2.
Please check you conf files and that may be the problem
Regards
Joseph Rajkumar
sunil wrote:
I get the same error for other exampes in Cocoon dir with Jserv and Jrun when I run darkness-novel.xml , I get this error
Re: org.apache.xml.serialize.BaseMarkupSerializer.printDoctypeURL
Posted by .
Hi
Just now, I got those two files from CVS, check the sizes
darkness-novel.xml 7089 bytes and novel-fo.xsl 2375 bytes
and they display just fine with Apache-1.3.12, ApacheJServ, and
the latest Cocoon ie 1.7.2.
Please check you conf files and that may be the problem
Regards
Joseph Rajkumar
sunil wrote:
> I get the same error for other exampes in Cocoon dir with Jserv and
> Jrun when I run darkness-novel.xml , I get this error
Re: org.apache.xml.serialize.BaseMarkupSerializer.printDoctypeURL
Posted by sunil <su...@gainskeeper.com>.
I get the same error for other exampes in Cocoon dir with Jserv and Jrun
when I run darkness-novel.xml , I get this error
Unknown XSL element: pi
at org.apache.xalan.xslt.XSLTEngineImpl.error(XSLTEngineImpl.java, Compiled Code)
at org.apache.xalan.xslt.XSLTEngineImpl.processStylesheet(XSLTEngineImpl.java:697)
at org.apache.xalan.xslt.XSLTEngineImpl.process(XSLTEngineImpl.java, Compiled Code)
at org.apache.cocoon.transformer.XalanTransformer.transform(XalanTransformer.java:94)
at org.apache.cocoon.processor.xslt.XSLTProcessor.process(XSLTProcessor.java:103)
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:840)
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:479)
---------
Unknown XSL element: pi
at org.apache.xalan.xslt.StylesheetHandler.startElement(StylesheetHandler.java, Compiled Code)
at java.lang.Exception.(Exception.java, Compiled Code)
at org.xml.sax.SAXException.(SAXException.java, Compiled Code)
at org.apache.xalan.xslt.StylesheetHandler.startElement(StylesheetHandler.java, Compiled Code)
at org.apache.xalan.xpath.xml.TreeWalker.startNode(TreeWalker.java, Compiled Code)
at org.apache.xalan.xpath.xml.TreeWalker.traverse(TreeWalker.java, Compiled Code)
at org.apache.xalan.xslt.XSLTEngineImpl.processStylesheet(XSLTEngineImpl.java:682)
at org.apache.xalan.xslt.XSLTEngineImpl.process(XSLTEngineImpl.java, Compiled Code)
at org.apache.cocoon.transformer.XalanTransformer.transform(XalanTransformer.java:94)
at org.apache.cocoon.processor.xslt.XSLTProcessor.process(XSLTProcessor.java:103)
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:840)
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:479)
----- Original Message -----
From: Rajkumar, Joseph
To: cocoon-users@xml.apache.org
Sent: Tuesday, April 25, 2000 3:45 PM
Subject: Re: org.apache.xml.serialize.BaseMarkupSerializer.printDoctypeURL
Hi
Not to be picky, but should that not be "Cocoon.xml"
Cheers
Joseph Rajkumar
sunil wrote:
Hi folks, I have installed cocoon on win98 with Apache, Jserv, JSDK and also JRUN. When I execute any XML files along with XSL it works but when I try cocoon.xml, I get BaseMarkupSerializer error.
Re: org.apache.xml.serialize.BaseMarkupSerializer.printDoctypeURL
Posted by .
Hi
Not to be picky, but should that not be "Cocoon.xml"
Cheers
Joseph Rajkumar
sunil wrote:
> Hi folks, I have installed cocoon on win98 with Apache, Jserv, JSDK
> and also JRUN. When I execute any XML files along with XSL it works
> but when I try cocoon.xml, I get BaseMarkupSerializer error.