You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Geert Schuring (Created) (JIRA)" <ji...@apache.org> on 2011/10/27 15:18:32 UTC

[jira] [Created] (KARAF-968) Features file should require name attribute on features element

Features file should require name attribute on features element
---------------------------------------------------------------

                 Key: KARAF-968
                 URL: https://issues.apache.org/jira/browse/KARAF-968
             Project: Karaf
          Issue Type: Improvement
          Components: karaf-features
    Affects Versions: cellar-2.2.2
            Reporter: Geert Schuring
             Fix For: 3.0.0


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)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (KARAF-968) Features file should require name attribute on features element

Posted by "Jean-Baptiste Onofré (Updated JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-968?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré updated KARAF-968:
---------------------------------------

    Comment: was deleted

(was: As I change the features XSD, I update the namespace version.)
    
> Features file should require name attribute on features element
> ---------------------------------------------------------------
>
>                 Key: KARAF-968
>                 URL: https://issues.apache.org/jira/browse/KARAF-968
>             Project: Karaf
>          Issue Type: Improvement
>          Components: karaf-features
>    Affects Versions: cellar-2.2.2
>            Reporter: Geert Schuring
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 3.0.0
>
>
> 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)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Updated] (KARAF-968) Features file should require name attribute on features element

Posted by "Jean-Baptiste Onofré (Updated JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-968?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré updated KARAF-968:
---------------------------------------

    Affects Version/s:     (was: cellar-2.2.2)
        Fix Version/s: 2.2.5
    
> Features file should require name attribute on features element
> ---------------------------------------------------------------
>
>                 Key: KARAF-968
>                 URL: https://issues.apache.org/jira/browse/KARAF-968
>             Project: Karaf
>          Issue Type: Improvement
>          Components: karaf-features
>            Reporter: Geert Schuring
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.2.5, 3.0.0
>
>
> 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)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (KARAF-968) Features file should require name attribute on features element

Posted by "Jean-Baptiste Onofré (Commented JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13147402#comment-13147402 ] 

Jean-Baptiste Onofré commented on KARAF-968:
--------------------------------------------

As I change the features XSD, I update the namespace version.
                
> Features file should require name attribute on features element
> ---------------------------------------------------------------
>
>                 Key: KARAF-968
>                 URL: https://issues.apache.org/jira/browse/KARAF-968
>             Project: Karaf
>          Issue Type: Improvement
>          Components: karaf-features
>    Affects Versions: cellar-2.2.2
>            Reporter: Geert Schuring
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 3.0.0
>
>
> 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)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Closed] (KARAF-968) Features file should require name attribute on features element

Posted by "Jamie goodyear (Closed) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-968?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jamie goodyear closed KARAF-968.
--------------------------------

    
> Features file should require name attribute on features element
> ---------------------------------------------------------------
>
>                 Key: KARAF-968
>                 URL: https://issues.apache.org/jira/browse/KARAF-968
>             Project: Karaf
>          Issue Type: Improvement
>          Components: karaf-features
>            Reporter: Geert Schuring
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.2.5, 3.0.0
>
>
> 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)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (KARAF-968) Features file should require name attribute on features element

Posted by "Jean-Baptiste Onofré (Commented JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13148102#comment-13148102 ] 

Jean-Baptiste Onofré commented on KARAF-968:
--------------------------------------------

On karaf-2.2.x branch, add a warning message if the features repository doesn't have a name: revision 1200616.
                
> Features file should require name attribute on features element
> ---------------------------------------------------------------
>
>                 Key: KARAF-968
>                 URL: https://issues.apache.org/jira/browse/KARAF-968
>             Project: Karaf
>          Issue Type: Improvement
>          Components: karaf-features
>            Reporter: Geert Schuring
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.2.5, 3.0.0
>
>
> 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)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Resolved] (KARAF-968) Features file should require name attribute on features element

Posted by "Jean-Baptiste Onofré (Resolved JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-968?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré resolved KARAF-968.
----------------------------------------

    Resolution: Fixed

Revision 1201204.
                
> Features file should require name attribute on features element
> ---------------------------------------------------------------
>
>                 Key: KARAF-968
>                 URL: https://issues.apache.org/jira/browse/KARAF-968
>             Project: Karaf
>          Issue Type: Improvement
>          Components: karaf-features
>            Reporter: Geert Schuring
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.2.5, 3.0.0
>
>
> 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)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (KARAF-968) Features file should require name attribute on features element

Posted by "Jean-Baptiste Onofré (Commented JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13147404#comment-13147404 ] 

Jean-Baptiste Onofré commented on KARAF-968:
--------------------------------------------

On trunk, I change the XSD (and so the namespace version).
On karaf-2.2.x branch, I just raise a warning during parsing.
                
> Features file should require name attribute on features element
> ---------------------------------------------------------------
>
>                 Key: KARAF-968
>                 URL: https://issues.apache.org/jira/browse/KARAF-968
>             Project: Karaf
>          Issue Type: Improvement
>          Components: karaf-features
>    Affects Versions: cellar-2.2.2
>            Reporter: Geert Schuring
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 3.0.0
>
>
> 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)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (KARAF-968) Features file should require name attribute on features element

Posted by "Jean-Baptiste Onofré (Commented JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13148890#comment-13148890 ] 

Jean-Baptiste Onofré commented on KARAF-968:
--------------------------------------------

Due to itests broken (Pax Exam "embeds" Karaf, so force the "old" feature namespace usage), I let the features namespace in v1.0.0 (on trunk).
                
> Features file should require name attribute on features element
> ---------------------------------------------------------------
>
>                 Key: KARAF-968
>                 URL: https://issues.apache.org/jira/browse/KARAF-968
>             Project: Karaf
>          Issue Type: Improvement
>          Components: karaf-features
>            Reporter: Geert Schuring
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.2.5, 3.0.0
>
>
> 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)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Work started] (KARAF-968) Features file should require name attribute on features element

Posted by "Jean-Baptiste Onofré (Work started JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-968?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on KARAF-968 started by Jean-Baptiste Onofré.

> Features file should require name attribute on features element
> ---------------------------------------------------------------
>
>                 Key: KARAF-968
>                 URL: https://issues.apache.org/jira/browse/KARAF-968
>             Project: Karaf
>          Issue Type: Improvement
>          Components: karaf-features
>    Affects Versions: cellar-2.2.2
>            Reporter: Geert Schuring
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 3.0.0
>
>
> 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)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Assigned] (KARAF-968) Features file should require name attribute on features element

Posted by "Jean-Baptiste Onofré (Assigned JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-968?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré reassigned KARAF-968:
------------------------------------------

    Assignee: Jean-Baptiste Onofré
    
> Features file should require name attribute on features element
> ---------------------------------------------------------------
>
>                 Key: KARAF-968
>                 URL: https://issues.apache.org/jira/browse/KARAF-968
>             Project: Karaf
>          Issue Type: Improvement
>          Components: karaf-features
>    Affects Versions: cellar-2.2.2
>            Reporter: Geert Schuring
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 3.0.0
>
>
> 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)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira