Daniel Fagerstrom a écrit :

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.

I have no opinion on that

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?

No relationship.
But I used the MetadataParser to quickly implement a simple Metatype service.
The MetadataParser parses the XML document associated to the service.
http://www-adele.imag.fr/~donsez/dev/osgi/metatype/readme.html
/Daniel



--
---------------------------------------------------------
Didier DONSEZ
Laboratoire LSR, Institut Imag, Universite Joseph Fourier
Bat. C, 220 rue de la Chimie, Domaine Universitaire
BP 53, 38041 Grenoble Cedex 9, France
GPS : lat 45°11'38.3"N, lon 05°46'14.7"E, alt 223m
Tel : +33 4 76 63 55 49           Fax : +33 4 76 63 55 50
mailto:[EMAIL PROTECTED]
URL: http://www-adele.imag.fr/~donsez
---------------------------------------------------------


Reply via email to