Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cross-project-issues-dev] One more late breaking change: planning to remove org.w3c.dom


This bundle, org.w3c.dom consists of interfaces from three standards, org.w3c.dom, javax.xml, and org.sax.xml, and come from the org.apache.xerces implementation of
those interfaces. Collectively, they are all part of JAXP 1.3 and the Xerces version is compatible with the JRE versions, but does have a few small differences.

This was put in Orbit as a separate bundle since Xerces ships the implementation in one jar, and these interfaces in another jar (xml-apis.jar). But, the current org.w3c.dom bundle is not quite right.
Some have requested the three families of interfaces be separated out into three separate bundles, and if we do that, then anyone who starts to use the org.w3c.dom bundle would be broken in the future. And, we can't do that.  The current version is not very useful, either, since it doesn't export version numbers for its packages.

While it was hoped to get all this sorted out for this release, I just haven't had time, and it's not a "stop ship" sort of requirement.

So, I'd like to put that xml-apis.jar back in the xerces bundle (and still export those interfaces from there, as is currently true).

What's it matter to you? Not much, unless you currently "require bundle" org.w3c.dom. If you do, you'll have to change to use "require bundle" org.apache.xerces, if you really need it.

There's only two cases in Europa that I can find (outside of WTP) that use org.w3c.dom and that's in DTP,

org.eclipse.datatools.enablement.oda.ws
org.eclipse.datatools.enablement.oda.ws.ui

Since these two bundles import wsdl4j, I suspect they were following our WTP model (advise?) which has turned out to not be needed at all. So,
hopefully you can just remove org.w3c.dom. At worst, you'd have to change to org.apache.xerces.
See bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=189716

So, unless anyone has a good reason not too, I'll remove this bundle from Orbit, and simply make it part of the xerces bundle. This basically puts us right back to the way we've done things in previous releases ... we'll re-evaluate next release if more is needed.

Feel free to ask questions or let us know if this impacts you.

Thanks,

Back to the top