Re: StAXSources with Xalan

Santiago Pericas-Geertsen <[email protected]> Fri, 19 Mar 2010 09:02:20 -0400
Newsgroups gmane.text.xml.xalan.java.user
Message-ID <[email protected]>
On Mar 18, 2010, at 11:47 PM, Michael Glavassevich wrote:

> Michael Ludwig <[email protected]> wrote on 03/18/2010 04:48:11 PM:
> 
> > > 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.
> 
> I have good reason to believe that it wasn't forked off stable releases for Java 5. I recall someone who was using the com.sun.org.apache.xerces.* version reporting a bug on the Xerces user list that must have been in unreleased code (something to do with the infrastructure I'd put down to support EntityResolver2 [1] if I recall correctly; at the time the code was unreachable through SAX) that I had written in between Xerces 2.6.2 and 2.7.0. That bug has never existed in any released version of Xerces so expect the snapshot was taken on some arbitrary day between the two releases. Perhaps the same thing happened with Java 6 and wouldn't be surprised if it has diverged significantly since then to support APIs like StAX which we haven't finished implementing here yet.
> 

 There's more info about the different versions here [1]. I'm not sure about the EntityResolver2 issue; a lot of bug fixes have been applied since the original fork and it's possible that someone re-introduced some pre-2.7.0 code. 

 As you said, there have been a number of changes around StAX and also the Validation API in 1.4.

-- Santiago

[1] https://jaxp.dev.java.net/1.4/JAXP-FAQ.html