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?
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.
Didier
PS : the MetadataParser bundle do not use the XML Parser Service defined
in the OSGI R3 spec (I can't remember the chapter number, Peter ?)
Remark: the impact is very light
// 2) create a metadata handler
// * KXmlMetadataHandler for kXML parser (light XML parser)
// * XmlMetadataHandler for SAX compliant parser (JAXP, Xerces, ...)
KXmlMetadataHandler handler=new KXmlMetadataHandler();
// SaxMetadataHandler handler=new SaxMetadataHandler();
--
---------------------------------------------------------
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
---------------------------------------------------------