Have you followed latest and greatest install instructions?

Vadim

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, April 03, 2002 10:44 PM
To: [EMAIL PROTECTED]
Subject: XML Reader giving problems

Hi there,
I have built the latest and greatest and suddenly get the following
exception
everytime a ServerPageGenerator gets used by a pipeline:
�
org.apache.cocoon.ProcessingException: SAX2 driver class
org.apache.xerces.parsers.SAXParser does not implement XMLReader:
java.lang.ClassCastException:
org.apache.xerces.parsers.StandardParserConfiguration 
at
org.apache.cocoon.generation.ServerPagesGenerator.setup(ServerPagesGener
ator.java:209) 
at
org.apache.cocoon.components.pipeline.AbstractEventPipeline.setupPipelin
e(AbstractEventPipeline.java:202) 
�
I was able to track doen the following:
org.xml.sax.helpers.XMLReader.createXMLReader(String className)
throws�a ClassCastException when executing:
��� (XMLReader)(Class.forName(className).newInstance());
�
className seems to be:�"org.apache.xerces.parser.SAXParser", which
implements XMLReader
but the actual class�that eventually causes the problem seems to be an
org.apache.xerces.parsers.StandardParserConfiguration, which does NOT
implement XMLReader
???
�
Looks also as if there are 2 property files involved:
org.xml.sax.driver�contains "org.apache.xerces.parser.SAXParser"
and org.apache.xerces.xni.parser.XMLParserConfiguration =
"org.apache.xerces.parsers.StandardParserConfiguration"
�
Does anybody have a clue about what's going on here?
�
Thanks for any comments,
Horst
�


---------------------------------------------------------------------
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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to