Hi Lukas,

I gonna check but, even it doesn't use it, Karaf 3.0.0 should support the name attribute (it's not used at all, but anyway, it should not be an issue).

I keep you posted.

Regards
JB

On 07/04/2013 02:07 PM, Roedl Lukas wrote:
Unfortunately the online tool stripped the code snippets - so here is the 
complete message:

I'm a bit confused about this one ;-)

I use the following command:

  <command-bundle xmlns="http://karaf.apache.org/xmlns/shell/v1.1.0";>
         <command name="homer/list">
                 ...

If I start the bundle in Karaf 2.3.1 everything is fine, but when started in Karaf 
3.0.0.RC1 there is an "Unable to validate xml" error as described in the first 
post.

When I now remove the name attribute:

  <command-bundle xmlns="http://karaf.apache.org/xmlns/shell/v1.1.0";>
         <command>
                 ...

I get an error in Karaf 2.3.1 that says that the name attribute is missing but 
in Karaf 3.0.0.RC1 it's working.

Any idea how to get a bundle with commands working in both versions of Karaf?

Best regards,
Lukas


--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to