Didier Donsez wrote:

Bennett, Timothy (JIS - Applications) a écrit :

Starting to *think* about mavenizing the felix build. Notice that the framework only has one third-party jar dependency -- kxml.jar.

What version is this? Looks like maybe something from the 1.x series, perhaps 1.2.1? Is there a reason for not using the 2.x series versions?

It seem like 2.x not is back compatible with 1.x. As 1.x is deprecated (http://kxml.sourceforge.net/about.shtml) we should probably try to move away from it. I have not read the framework code so I don't know how kxml is used. Anyway, kxml is AFACS a pull parser, if there are resons for continue using pull parsers, using a StAX parser is probably the safest bet. kxml 2.x is based on xmlpull.

If we need to continue to use 1.x, do you think the Enhydra folks will contribute a build of kxml to ibiblio, named to kxml-1.2.1.jar?

The kxml.jar is embedded in the ServiceBinder and in the BundleRepositoryService (OBR).
The kxml.jar could be substituted by a standard JAXP SAX Parser.
This is the case in the latest version of MetadataParser bundle. The previous version was integrated by Rick in the BundleRepositoryService sources.

http://www-adele.imag.fr/~donsez/dev/osgi/metadataparser/readme.html
and for the demo
http://www-adele.imag.fr/~donsez/dev/osgi/metadataparsertest/readme.html

This bundle could join the Felix code base.

How is it related to the metatype service?

/Daniel

Reply via email to