Jean-Claude Moissinac wrote:

Hello

I would like to use Saxon and Xalan in my site.
The article in
http://wiki.apache.org/cocoon/Saxon
helps me well with saxon7
But with saxon8, I get an error in the cocoon shell window:
...
16:06:38.553 WARN!! Error for /samples/hello-world/hello.saxon
java.lang.NoClassDefFoundError: org/w3c/dom/TypeInfo
at net.sf.saxon.tree.TreeBuilder.open(TreeBuilder.java:75)
at net.sf.saxon.event.ProxyReceiver.open(ProxyReceiver.java:88)
at net.sf.saxon.style.UseWhenFilter.open(UseWhenFilter.java:45)
....
See below for more details.
Where hello.saxon is generated with the following pipeline added in the helloworld sitemap (this pipeline works well with saxon7):


   <map:match pattern="hello.saxon">
    <map:generate src="content/hello.xml"/>
    <map:transform type="xslt-saxon" src="style/xsl/page2html.xsl"/>
    <map:serialize type="html"/>
   </map:match>

Any idea?

saxon8.2 seems to need jdk1.5 or some complementary jar (the separately-downloaded JAXP 1.3 package.) which saxon8.2 doesn't need

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to