Skip to Content.
Sympa Menu

xom-interest - [XOM-interest] XOM built as an OSGi bundle

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: David Fogel <carrotsalad AT gmail.com>
  • To: xom-interest AT lists.ibiblio.org
  • Subject: [XOM-interest] XOM built as an OSGi bundle
  • Date: Thu, 14 May 2009 12:34:27 -0400

Hi Elliotte-

You will also need to specify imports for any package your code
accesses which is not in java.*, including all the javax.xml.*, like
these:

Import-Package: javax.xml.datatype,
 javax.xml.namespace,
 javax.xml.parsers,
 javax.xml.transform,
 javax.xml.transform.dom,
 javax.xml.transform.sax,
 javax.xml.transform.stream,
 javax.xml.validation,
 javax.xml.xpath

You may also need (but maybe it's optional, not sure) to specify the
Manifest version:

Manifest-Version: 1.0

I'll be happy to test it out for you if you release a build.

-Dave Fogel

On Wed, May 13, 2009 at 10:19 AM, Elliotte Harold <elharo AT ibiblio.org> wrote:
> Does this look about right:
>
> Bundle-ManifestVersion: 2
> Bundle-Name: XOM
> Bundle-SymbolicName: nu.xom
> Bundle-Version: 1.2.2b2
> Bundle-Vendor: xom.nu
> Bundle-RequiredExecutionEnvironment: J2SE-1.4
> Export-Package: nu.xom, nu.xom.canonical, nu.xom.converters, nu.xom.xi
>  nclude, nu.xom.xslt
>
> Am I missing anything?
>
> --
> Elliotte Rusty Harold
> elharo AT ibiblio.org
> _______________________________________________
> XOM-interest mailing list
> XOM-interest AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/xom-interest
>




Archive powered by MHonArc 2.6.24.

Top of Page