is there somewhere a webpage with list of XNI changes introduced in Xerces-J 2.x versions and how to deal with them (i could not find it anything more than http://xml.apache.org/xerces2-j/releases.html)?
Besides the releases page, you can do a diff on the xerces/xni directories from the release you're interested in to see what API changes were made.
is there a bullet-proof (or "good enough") way to check that a compatible/required version of Xerces XNI API is available (on CLASSPATH)? or is it possible to write code that work with all Xerces 2.x versions?
You can write code to work with all versions of Xerces2 XNI but it's not the easiest thing in the world. Most of the changes can be handled with simple reflection, though. The hardest one is the namespaces change that went from calling start/endPrefix- Mapping methods to having a NamespaceContext passed to the startDocument method. But that's only if you need to do more than just pass along the object.
You can look at some of the CyberNeko Tools for XNI to see how I handled the changes. For example, NekoHTML had to handle the changes and should work with all versions of the Xerces2 XNI.
is JDK 1.4 still using crimson or was it replaced by xerces2?
Up to 1.4.2_03 still includes Crimson.
-- Andy Clark * [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
