Hi to all,
I just discovered a strange problem on my Linux box.
I'm using latest IBM SDK 1.3, with the xalan-j 2.1.0 and xerces-j 1.4.0,
I rebuilt from sources for my RPM (but it's also the case with the binary).
CLASSPATH=/usr/share/java/xalan.jar:/usr/share/java/xerces.jar
When trying simple transform I've got a problem :
XSLT Error (javax.xml.transform.TransformerConfigurationException):
javax.xml.parsers.FactoryConfigurationError:
com.sun.xml.parser.SAXParserFactoryImpl
When I recopy the jars in a clean directory,
CLASSPATH=/home/test/xalan.jar:/home/test/xerces.jar
Everything works fine.
I digging into and discovered that jaxp.jar and parser.jar where present in
my /usr/share/java :
After removing them from /usr/share/java/, I could use
CLASSPATH=/usr/share/java/xalan.jar:/usr/share/java/xerces.jar
Is it normal that xalan consider jaxp.jar it could found next to it's own
jar even if we didn't have specify
it in CLASSPATH ?
The previous release of xalan-j, 2.0.1, didn't have such problem.
Thanks