Joerg
Fleischer Roman wrote:
Hello Joerg,
I wonder why my sheets work well with cocoon 2.1m1 and saxon 6.5.2 and also with cocoon2.1 and the default xalan XSLT-Processor. But I got crazy effects when using cocoon2.1 and saxon 6.5.2 and the described error when using cocoon 2.1 with saxon 7.6. I did not change anything in the sheets.
Thanks,
-----Original Message----- From: Joerg Heinicke [mailto:[EMAIL PROTECTED] Sent: Montag, 15. September 2003 17:16 To: [EMAIL PROTECTED] Subject: Re: Using Saxon 7.6 with cocoon2.1
Hello Roman,
AFAIK you don't need anything specific in Excalibur XML util. Saxon is TRaX compatible and so it should work.
From the error I guess you have an error in an XML file that's validated against an XML Schema ("Cannot compare xs:boolean to xs:string ..."). I don't know of any default usage of XML Schema in Cocoon, so you have to look
where you use it.
Regards,
Joerg
Fleischer Roman wrote:
Hi,
does anybody a solution for using saxon instead of xalan? I�m using cocoon2.1 and try to change the XSLT-Processor to Saxon. In the
cocoon.xconf
I added the entry
<component logger="core.xslt-processor" role="org.apache.excalibur.xml.xslt.XSLTProcessor/saxon" class="org.apache.excalibur.xml.xslt.XSLTProcessorImpl"> <parameter name="use-store" value="false"/> <parameter name="transformer-factory" value="net.sf.saxon.TransformerFactoryImpl"/> </component>
and in the sitemap.xmap:
<map:transformer name="xslt" pool-grow="2" pool-max="32" pool-min="8" src="org.apache.cocoon.transformation.TraxTransformer"> <use-request-parameters>false</use-request-parameters> <use-session-parameters>false</use-session-parameters> <use-cookie-parameters>false</use-cookie-parameters>
<xslt-processor-role>org.apache.excalibur.xml.xslt.XSLTProcessor/saxon</xslt
-processor-role>
</map:transformer>
I copied the files saxon.jar and saxon-jdom.jar to the lib-directory of cocoon,but I get the following error:
Original Exception: javax.xml.transform.TransformerException: Cannot
compare xs:boolean to xs:string at net.sf.saxon.TransformerHandlerImpl.endDocument(TransformerHandlerImpl.java:
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
