BUNBURY Myles schrieb am 18.03.2010 um 12:01:15 (-0500): > 1. What's the difference between "com.sun.org.apache.xalan.*" and > "org.apache.xalan.*"?
The former is Sun's fork of Xalan, which ships with the JRE, just like their fork of Xerces. From numerous posts on XML-related lists and from my own experience I know that it's best to avoid them because they have numerous astonishing bugs, especially with JDK 1.6. > 2. Is one better to use versus the other? Yes. always use the original Apache versions. > 3. If "com.sun.org.apache.xalan.*" has StAXSource support (even if > it's just a wrapper for SAX), why doesn't "org.apache.xalan.*"? I've never used that, so I can't comment on this one. > 4. I came across a blurb that indicated that the > "com.sun.org.apache.xalan.*" was based off of "org.apache.xalan.*" > v2.6.0, but I think that was an older version of the JRE. I'm > currently working with Java 6 update 16. Alright, Java 6, so get rid of the Sun forks as soon as possible. Simply drop the Apache versions into your extension directory. > What version of "org.apache.xalan.*" is "com.sun.org.apache.xalan.*" > based off of in this JRE? As far as I know, not even off of some stable release. If you want to know, ask Sun. -- Michael Ludwig