S
Steve W. Jackson
We have a critical class in our app which extends the DocumentImpl class
from an older Xerces-J implementation. I'm looking at what changes are
required to switch from 1.4.2 to 1.5, while at the same time hoping to
lose our dependence on the old versions of both Xerces and Xalan we're
currently using in favor of the built-in JAXP 1.3 in Java 1.5.
Making this class implement the Document interface isn't really
feasible, for obvious reasons. I could set the compile classpath to
include rt.jar and then make the class extend the Xerces DocumentImpl
buried deep inside there, but I'd prefer to avoid such things if
reasonably possible. So I'm looking for suggestions.
This class needs to be able to satisfy the "is a" test against the
org.w3c.dom.Document interface. But so far I'm not seeing anything
become clear in my mind as to how best to accomplish this without
requiring a great deal of code change. If that much effort is to be
required, it will mean waiting until after our pending new release to
get it done. Getting it done now would be better, and allow us to
lighten the load by removing some jar files no longer required.
TIA for any suggestions or ideas.
= Steve =
from an older Xerces-J implementation. I'm looking at what changes are
required to switch from 1.4.2 to 1.5, while at the same time hoping to
lose our dependence on the old versions of both Xerces and Xalan we're
currently using in favor of the built-in JAXP 1.3 in Java 1.5.
Making this class implement the Document interface isn't really
feasible, for obvious reasons. I could set the compile classpath to
include rt.jar and then make the class extend the Xerces DocumentImpl
buried deep inside there, but I'd prefer to avoid such things if
reasonably possible. So I'm looking for suggestions.
This class needs to be able to satisfy the "is a" test against the
org.w3c.dom.Document interface. But so far I'm not seeing anything
become clear in my mind as to how best to accomplish this without
requiring a great deal of code change. If that much effort is to be
required, it will mean waiting until after our pending new release to
get it done. Getting it done now would be better, and allow us to
lighten the load by removing some jar files no longer required.
TIA for any suggestions or ideas.
= Steve =