[XOM-interest] XOM built as an OSGi bundle

David Fogel carrotsalad at gmail.com
Thu May 14 12:34:27 EDT 2009


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
>


More information about the XOM-interest mailing list