<resource>
  <capability namespace="osgi.identity">
    <attribute name="osgi.identity" value="org.example.g"/>
    <attribute name="type" value="osgi.bundle"/>
    <attribute name="version" type="Version" value="0.0.0"/>
  </capability>
  <capability namespace="osgi.content">
    <attribute name="osgi.content" value="801e50621aba2e62138559b3e50742abf045bf70d7092b49defdd78cef219c36"/>
    <attribute name="url" value="testdata/07-optionalimport.jar"/>
    <attribute name="size" type="Long" value="978"/>
    <attribute name="mime" value="application/vnd.osgi.bundle"/>
  </capability>
  <capability namespace="osgi.wiring.bundle">
    <attribute name="osgi.wiring.bundle" value="org.example.g"/>
    <attribute name="bundle-version" type="Version" value="0.0.0"/>
  </capability>
  <capability namespace="osgi.wiring.host">
    <attribute name="osgi.wiring.host" value="org.example.g"/>
    <attribute name="bundle-version" type="Version" value="0.0.0"/>
  </capability>
  <requirement namespace="osgi.wiring.package">
    <directive name="filter" value="(&amp;(osgi.wiring.package=org.example.a)(version&gt;=1.0.0)(!(version&gt;=2.0.0)))"/>
    <directive name="resolution" value="optional"/>
  </requirement>
</resource>