Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


[xsl] launching Saxon 8.2 from xslt Ant task

From: Roger I Martin PhD <hypernexdev@--------------->
To:
Date: 2/1/2005 4:36:00 PM
Hi,



http://ant.apache.org/manual/CoreTasks/style.html



   <target name="NURBS">

       <xslt basedir="." processor="net.sf.saxon.Transform" 
classPath="C:\sourceforge\saxonb8-2\saxon8.jar" destdir="." 
in="xml/NURBSCurve2.xml" 
out="src/com/neuralworks/fea/mathml/NURBSCurve2.java" 
style="../../stylesheets/mathml2Java.xsl">

         <param name="baseClassName" 
expression="com.pombi.mathml.lang.AbstractEquation"/>

         <param name="packageName" 
expression="com.neuralworks.fea.mathml"/>

         <param name="className" expression="NURBSCurve2"/>

         <outputproperty name="method" value="text"/>

         <outputproperty name="encoding" value="UTF-8"/>

       </xslt>

   </target>



Throws an class cast exception.  I've tried 
net.sf.saxon.TransformerFactoryImpl and got the same.  Is it a class I 
don't know or Ant 1.6.1 doesn't know?



If I set the processor  attribute to "Saxon" as the Ant doc suggests, I 
get class not found.



Also if Michael Kay sees this,  what format should examples of use be 
written?



-Roger


transparent
Print
Mail
Digg
delicious
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent