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)