DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24200>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24200

Loaded wrong TransformerFactoryImpl for Applet with JRE1.4.*

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|2.0.0                       |CurrentCVS



------- Additional Comments From [EMAIL PROTECTED]  2003-10-30 23:14 -------
It turns out that the version of XML API in the JDK and Xalan are different. 
Therefore, the transformer factory implementation finding mechanisms are 
different. When place xml-apis.jar in the endorsed directory, it tries to find 
the implementation class as following sequence:
1. Trying to get the setting from system.properties: 
javax.xml.transform.TransformerFactory;
2. Trying to get the setting from system.properties: 
java.home/lib/jaxp.properties;
3. Trying to get the setting from the Jar provider: META-
INF/services/javax.xml.transform.TransformerFactory;
4. Fallback to use default setting: 
org.apache.xalan.processor.TransformerFactoryImpl;

In xalan.jar, there is default setting META-
INF/services/javax.xml.transform.TransformerFactory to use the interpretive 
implementation. It is loaded prior to the one specified in the achive attribute.

This error will appear in J2EE environment too.

Reply via email to