Thanks. That's generally clear, but one thing confuses me. You say that Dom 3 isn't enabled until 2.7, but the code works find with plain Java 1.5, and also with 2.6.2 explicitly included (and selected with -D...)
That seems to contradict the 2.7.0 claim. Was the Xerces in the JAXP bundled with JDK 1.5 compiled using the special target you mention? Or I guess 2.6.2 could be later than 2.7.0 if there's some backporting going on? Thanks, Andrew PS If anyone googles this looking for a Maven-related solution, there are my notes on how to exclude this dependence in Maven here - http://www.acooke.org/cute/JavaXMLdep0.html Michael Glavassevich wrote: > Element.setIdAttribute() [1] is a DOM Level 3 method. DOM Level 3 has only > been supported in the standard distribution since Xerces 2.7.0. In earlier > versions there was experimental support for DOM Level 3 which you could > access by building Xerces with a special build target. The implementation > wasn't complete until Xerces 2.7.0. You'll run into problems if the API > and implementation versions are out of synch. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
