Hi, I found that Felix is validating the compatibility of host vs. fragment imports by ensuring that in case host and fragment are importing the same package, they should use the exactly same version (range). I believe that this is a little too restrictive and Felix should also allow the host bundle to be more restrictive on the version range than the fragment. This way, it is still guaranteed that the fragment will run with using the version range from the host bundle (which is a subset of the fragment version range in this case).
I just ran into this problem when trying to use the Hibernate + Annotations bundles packaged by SpringSource. Hibernate Annotations is a fragment bundle, hosted by the Hibernate bundle. Hibernate imports org.dom4j;version="[1.6.1, 1.7.0)" whereas the fragment imports org.dom4j;version="[1.6.1, 2.0.0)" and the current implementation does not allow this fragment to be linked to its host. What do you think? Thanks Andreas
