Hi,
I run a Cocoon 2,1.5 installation and tried the stx block. But i get the
following exception.
cause: org.apache.excalibur.xml.xslt.XSLTProcessorException: Unable to create
templates for stylesheet:
file:/var/jboss-3.2.4/server/default/deploy/cocoon.war/samples/blocks/stx/page2html.stx
Looking at my logs files I noticed the following line:
FATAL_E (2004-09-13) 11:28.51:735 [core.xslt-processor]
(/cocoon/samples/blocks/stx/hello.html)
http-0.0.0.0-8080-Processor25/TraxErrorHandler: Error in TraxTransformer:
javax.xml.transform.TransformerConfigurationException: Can't create XMLReader
for class org.apache.crimson.parser.XMLReaderImpl
It seems that the default stx configuration in Cocoon tries to use the crimson
parser which is not available in my installation.
On the main sitemap I have:
<map:transformer logger="sitemap.transformer.stx" name="stx"
src="org.apache.cocoon.transformation.TraxTransformer">
<transformer-factory>net.sf.joost.trax.TransformerFactoryImpl</transformer-factory>
</map:transformer>
How to solve this problem, and especially, if my diagnosis is correct how to
configure the transformer so as it uses an available parser like xerces.
Thanks.
Oscar
__________________________________
Do you Yahoo!?
Y! Messenger - Communicate in real time. Download now.
http://messenger.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]