You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xalan.apache.org by Robinson Simon <Si...@newton.co.uk> on 2002/05/17 16:58:00 UTC

Version Compatibility

My machine had to be rebuilt yesterday, and I need to download the Java SDK
again and notice it is now 1.4.0, I also want to get hold of Xerces and
Xalan. Does anyone know the best versions to get hold of for the obvious
reasons of compatability.

Simon

-----Original Message-----
From: Shane Curcuru [mailto:shane_curcuru@yahoo.com]
Sent: Friday, May 17, 2002 2:54 PM
To: xalan-j-users@xml.apache.org
Subject: Re: Invalid source-->Success


Yup, this is a feature of JAXP's FactoryFinder classes.  Since the JAXP
stuff is pluggable (i.e. the TransformerFactory interface will find you
an implementation, allowing you to plug in new implementations without
recompiling your code), they left several ways to define which
implementation gets loaded each time.  I don't remember if the JAXP
spec details the decision tree, but javax.xml.transform.FactoryFinder
comments it.  

If a system property is set, it uses that; otherwise it searches the
classpath in order for .jars that have the proper META-INF/services
files - and if the Oracle .jar is first in the classpath, then you'll
get the Oracle implementation.  There's also a lookup for a
jaxp.properties file and a final hardcoded fallback name.


=====
- Shane

<eof aka="mailto:shane_curcuru@us.ibm.com"
 .sig="Du sublime au ridicule il n'y a qu'un pas." />

__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com


The information contained in or attached to this message is confidential
and is solely for the use of the addressee.  If you are not the intended 
recipient please notify us immediately by return email to 
postmaster@newton.co.uk 
and delete the message from your system. Internet communications 
are not secure.The Newton group and other subsidiaries of 
Mellon Europe Ltd accepts no liability for changes to this
message after it was sent. Any views expressed by an individual in this 
email do not necessarily reflect the views of the group.  If you have 
any questions regarding the contents of this email please contact 
Information_Security@newton.co.uk