You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by David M Williams <da...@us.ibm.com> on 2007/02/02 09:13:22 UTC

Xerces Jars and Eclipse Bundles

I work in the Webtools Project in Eclipse, and have for years produced 
Xerces plugins  for each release of Xerces. (Which in turn is 
used by other Eclipse plugins). 

I'm about to do it again, but a little differently ... using an "exploded 
jar" in an OSGi bundle.  In the simplest case, I'd just create a bundle 
for 
every jar in Xerces. This especially makes sense in the cases of 
xml-apis.jar and xercesImpl.jar since, by design, someone may want to use 
the APIs, but 
provide their own implementation. 

The other two jars are less obvious to me, resolver.jar and the "new" 
serializer.jar. Are these jars separate for some conceptual or 
distribution reason? 
For example, do some people use only the resolver all by itself? Or, do 
they "swap in" their own version of resolver.jar? Or, are they separate 
just due to 
historical and build reasons, and that conceptually, they could just be 
part of xercesImpl.jar? 

Thanks, 


Re: Xerces Jars and Eclipse Bundles

Posted by Michael Glavassevich <mr...@ca.ibm.com>.
The resolver and serializer are separate components that are released from 
the XML Commons [1] and Xalan [2] projects. Xerces depends on them for XML 
Catalog and DOM Level 3 serialization support. They can be used on their 
own.

[1] http://xml.apache.org/commons/
[2] http://xalan.apache.org/

Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: mrglavas@ca.ibm.com
E-mail: mrglavas@apache.org

David M Williams <da...@us.ibm.com> wrote on 02/02/2007 03:13:22 
AM:

> 
> I work in the Webtools Project in Eclipse, and have for years 
> produced Xerces plugins  for each release of Xerces. (Which in turn is 
> used by other Eclipse plugins). 
> 
> I'm about to do it again, but a little differently ... using an 
> "exploded jar" in an OSGi bundle.  In the simplest case, I'd just 
> create a bundle for 
> every jar in Xerces. This especially makes sense in the cases of 
> xml-apis.jar and xercesImpl.jar since, by design, someone may want 
> to use the APIs, but 
> provide their own implementation. 
> 
> The other two jars are less obvious to me, resolver.jar and the 
> "new" serializer.jar. Are these jars separate for some conceptual or
> distribution reason? 
> For example, do some people use only the resolver all by itself? Or,
> do they "swap in" their own version of resolver.jar? Or, are they 
> separate just due to 
> historical and build reasons, and that conceptually, they could just
> be part of xercesImpl.jar? 
> 
> Thanks, 


---------------------------------------------------------------------
To unsubscribe, e-mail: j-users-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-users-help@xerces.apache.org