Description
The XML Schema for feature files currently allows the features element (the xml root element) to have no name. Feature repositories with no name declared show up as "repo-0" in the list of repositories. As there currently are several important feature repositories without name [1], the features:listrepositories command returns multiple indistinguishable rows of "repo-0" named repositories.
I have targeted this improvement at Karaf 3.0.0 since existing feature files (like [1]) won't survive schema validation when the name attribute becomes required.
[1]
http://search.maven.org/remotecontent?filepath=org/apache/servicemix/apache-servicemix/4.3.0/apache-servicemix-4.3.0-features.xml
http://search.maven.org/remotecontent?filepath=org/apache/camel/karaf/apache-camel/2.6.0/apache-camel-2.6.0-features.xml (not the most recent, I know)
Attachments
Issue Links
- is related to
-
KARAF-1033 Set the Features validation optional
- Resolved