You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Michael Grafl (JIRA)" <ji...@apache.org> on 2015/01/27 12:16:34 UTC

[jira] [Created] (FELIX-4773) Generated service component xml does not conform to XSD

Michael Grafl created FELIX-4773:
------------------------------------

             Summary: Generated service component xml does not conform to XSD
                 Key: FELIX-4773
                 URL: https://issues.apache.org/jira/browse/FELIX-4773
             Project: Felix
          Issue Type: Bug
          Components: SCR Tooling
    Affects Versions: maven-scr-plugin 1.20.0
            Reporter: Michael Grafl
            Priority: Minor


The ServiceComponent xml file generated by maven-scr-plugin does not conform to the declared XML Schema Definition "http://www.osgi.org/xmlns/scr/v1.0.0". Same for other specVersions ("http://www.osgi.org/xmlns/scr/v1.1.0" and "http://www.osgi.org/xmlns/scr/v1.2.0").

The file is generated with root element "components", e.g., 
<?xml version="1.0" encoding="UTF-8"?><components xmlns:scr="http://www.osgi.org/xmlns/scr/v1.0.0">
    <scr:component> ... 
    </scr:component>
</components>

The XSD specifies the root element as "component".



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)