XSLT import/include errors

gelo1234 <[email protected]>
Newsgroups gmane.text.xml.cocoon.user
Message-ID <CAPJaKUrWcP0ERp6=-_DwtQk+LPixjk_==aAMDL2i7UD8hfVq2A@mail.gmail.com>
It looks like XSLT also got cut in functionality in C3. I tried to rerun
old XSL stylesheets with new C3 and gave up.

The error says nothing meaningful:

<exception-report class="org.apache.cocoon.pipeline.SetupException"
timestamp="Thu, 20 Jun 2013 19:58:23 +0200"><message>Impossible to read
XSLT from 'javax.xml.transform.stream.StreamSource@cba24d', see nested
exception</message><cause>Could not compile
stylesheet</cause><stacktraceCause>javax.xml.transform.TransformerConfigurationException:
Could not compile stylesheet
    at
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTemplates(Unknown
Source)
    at
org.apache.cocoon.sax.component.XSLTTransformer.load(XSLTTransformer.java:216)
    at
org.apache.cocoon.sax.component.XSLTTransformer.load(XSLTTransformer.java:165)
    at
org.apache.cocoon.sax.component.XSLTTransformer.setConfiguration(XSLTTransformer.java:264)
    at
org.apache.cocoon.sitemap.InvocationImpl.installComponent(InvocationImpl.java:257)
    at

It looks like there is a problem with xsl:import/xsl:include from the main
xsl stylesheet.
Moreover I found that when <xsl:template match="RootElement" is not in the
main XSL stylesheet the same error appears.

Can we switch on more debugging info what is wrong ?

Greetings,
Greg
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.