[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: XSLT processor Configuration for Java

Subject: Re: XSLT processor Configuration for Java
From: Rashmi Rubdi <dev_subscriptions@xxxxxxxxx>
Date: Fri, 9 Mar 2007 18:14:38 -0800 (PST)
Re:  XSLT processor Configuration for Java
Also check your applications "lib" or similar library folder to Xalan JAR
files, and remove the JAR from the lib folder.

-Rashmi

----- Original
Message ----
From: Michael Kay <mike@xxxxxxxxxxxx>
To:
xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Sent: Friday, March 9, 2007 5:45:06 PM
Subject: RE:  XSLT processor Configuration for Java


> I meant ,is there
any configuration I need to do to use 
> SAXON,By default XALAN processor is
being picked  though 
> SAXON is on the classpath.

This can be a little
difficult to debug. Setting the Java system property
jaxp.debug=1 can help.
Make sure you are using Saxon 8.9.0.2. The build of 8.9 was incorrect,
because
of a bug in Ant, which caused the services information in the JAR
files to be
set up incorrectly.

It's generally safer to set system properties explicitly:
javax.xml.transform.TransformerFactory=net.sf.saxon.TransformerFactoryImpl
rather than relying on the classpath search.

Unless you really need to write
code with no compile-time references to
Saxon classes, the simplest of all is
just to instantiate the Saxon
TransformerFactory directly:

TransformerFactory
factory = new net.sf.saxon.TransformerFactoryImpl()

Apart from anything else
this saves the high cost of the classpath search.

Michael Kay
http://www.saxonica.com/


> 
> On Mar 9, 2007, at 1:03 PM, Michael Kay wrote:
> 
> >> Hi
> >> I would like to know the touch point for configuring XSLT 
>
processor 
> >> on Java.
> >> I use Java 1.5 and I would like to use SAXON
processor for my XSLT 
> >> transformation .
> >> Please advise.
> >
> > I'm
not sure what you mean by "touch point", but instructions for 
> > downloading
and installing Saxon are at
> >
> >
http://www.saxonica.com/documentation/index/intro.html
> >
> > Michael Kay
> >
http://www.saxonica.com/
> >
> >
> > 
>
--~------------------------------------------------------------------
> >
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> > To
unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
> > or e-mail:
<mailto:xsl-list-unsubscribe@xxxxxxxxxxxxxxxxxxxxxx>
> > --~--
> >
> 
> 
>
--~------------------------------------------------------------------
>
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> To
unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
> or e-mail:
<mailto:xsl-list-unsubscribe@xxxxxxxxxxxxxxxxxxxxxx>
> --~--
_____________________________________________________________________________
_______
Never miss an email again!
Yahoo! Toolbar alerts you the instant new
Mail arrives.
http://tools.search.yahoo.com/toolbar/features/mail/

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.