When running my application bundles under Felix 2.0.1 I am experiencing the
following constraint violation:
DEBUG: Constraint violation for 34.0 detected; module can see org.w3c.dom
from [27.0] and org.w3c.dom from [0]
DEBUG: Constraint violation for 34.0 detected; module can see org.w3c.dom
from [27.0] and org.w3c.dom from [0]
Looking at the import definition for bundle 34 (my application bundle) I can
see that it references:
org.w3c.dom;version="3.0"
The export definition from bundle 27 (Xerces 2.9.1):
org.w3c.dom;version="3.0"
The export definition from bundle 0 (Felix System Bundle)
org.w3c.dom;version="0.0.0"
In this scenario I would expect the resolver to select the package from the
Xerces bundle but from the constraint
violation this seems not to be the case. Is there a way to force the resolver
to use the Xerces package or to remove
the org.w3c.dom export from the System Bundle? Thanks,
David