Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-4686

If component is declared with 1.3 NS and ds.factory.enabled = true, validation error occors

    XMLWordPrintableJSON

Details

    Description

      For example the following component xml leads to a validation error:

      "Configuration of component factory instances through config admin factory pids supported only through the 1.2 namespace"

      <components xmlns:scr="http://www.osgi.org/xmlns/scr/v1.3.0">
      <scr:component name="org.apache.sling.sample.slingshot.impl.SetupService" activate="activate" deactivate="deactivate">
      <implementation class="org.apache.sling.sample.slingshot.impl.SetupService"/>
      <property name="service.vendor" value="The Apache Software Foundation"/>
      <property name="service.pid" value="org.apache.sling.sample.slingshot.impl.SetupService"/>
      </scr:component>
      </components>

      Attachments

        Activity

          People

            cziegeler Carsten Ziegeler
            cziegeler Carsten Ziegeler
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: