You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@karaf.apache.org by Achim Nierbeck <bc...@googlemail.com> on 2015/06/25 13:13:54 UTC

Re: Feature file namespace issue

even though this is a pretty old post,
let me answer it :)

you're using a namespace only available with karaf 4, therefore use a
"older" namespace version for Karaf 3

regards, Achim

2015-05-20 9:10 GMT+02:00 KM <kr...@fatlenny.net>:

> Hey!
>
> When generating feature descriptors with Karaf 3.0.3 the namespace of the
> feature is [1]. When I try to start that feature I get an error [2]. It
> seems that the validation class [3] was not updated to the new namespace.
>
> Regards,
> Kristof
>
> [1] http://karaf.apache.org/xmlns/features/v1.3.0
> [2] java.lang.IllegalArgumentException: Unrecognized root element:
> {http://karaf.apache.org/xmlns/features/v1.3.0}features
> [3]
>
> features/core/src/main/java/org/apache/karaf/features/internal/FeatureValidationUtil.java
>
>
>
>
> --
> View this message in context:
> http://karaf.922171.n3.nabble.com/Feature-file-namespace-issue-tp4040514.html
> Sent from the Karaf - Dev mailing list archive at Nabble.com.
>



-- 

Apache Member
Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
Project Lead
blog <http://notizblog.nierbeck.de/>
Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS>

Software Architect / Project Manager / Scrum Master

Re: Feature file namespace issue

Posted by Kristof Meixner <kr...@fatlenny.net>.
Hi!

Okay, seems I used the wrong version number for a feature.

Regards,
Kristof

On 06/25/2015 01:13 PM, Achim Nierbeck wrote:
> even though this is a pretty old post,
> let me answer it :)
>
> you're using a namespace only available with karaf 4, therefore use a
> "older" namespace version for Karaf 3
>
> regards, Achim
>
> 2015-05-20 9:10 GMT+02:00 KM <kr...@fatlenny.net>:
>
>> Hey!
>>
>> When generating feature descriptors with Karaf 3.0.3 the namespace of the
>> feature is [1]. When I try to start that feature I get an error [2]. It
>> seems that the validation class [3] was not updated to the new namespace.
>>
>> Regards,
>> Kristof
>>
>> [1] http://karaf.apache.org/xmlns/features/v1.3.0
>> [2] java.lang.IllegalArgumentException: Unrecognized root element:
>> {http://karaf.apache.org/xmlns/features/v1.3.0}features
>> [3]
>>
>> features/core/src/main/java/org/apache/karaf/features/internal/FeatureValidationUtil.java
>>
>>
>>
>>
>> --
>> View this message in context:
>> http://karaf.922171.n3.nabble.com/Feature-file-namespace-issue-tp4040514.html
>> Sent from the Karaf - Dev mailing list archive at Nabble.com.
>>
>
>
>