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

Reply via email to