Hi. I'm using xalan version 2.7.0 with JDK 1.6.0_21 in a project  (let's call
this project SSOConfigMgr). I also have a test harness (another java project
called SSOTest) that references the SSOConfigMgr project. I encountered the
following problem:

In eclipse, if the test harness (SSOTest) references the "SSOConfigMgr"
project (note: NOT the compiled jar file), then the code
"XPathAPI.selectSingleNode(...)" runs fine and return the appropriate nodes.
However, if I compile the "SSOConfigMgr" project into SSOConfigMgr.jar and
have the test harness reference the jar file, the
"XPathAPI.selectSingleNode(...)" doesn't work (it doesn't return the
appropriate node).

Any idea why and how to fix it? FYI, I have referenced the same libraries in
eclipse as well as in the build.xml file that I use to compile the code.

Your help is appreciated. 

  -Andrew



--
View this message in context: 
http://apache-xml-project.6118.n7.nabble.com/Xalan-behavioural-difference-in-referenced-jar-vs-project-in-Eclipse-tp41505.html
Sent from the Xalan - J - Users mailing list archive at Nabble.com.

Reply via email to