Dear, Your features file seems ok but unfortunately karaf 2.2.11 only supports the v1.0.0 features definition. I assume that, if you change the namespace to "http://karaf.apache.org/xmlns/features/v1.0.0”, it will work fine.
Good luck, Wim Verreydt On 28 Apr 2014, at 17:53, neiltingley <[email protected]> wrote: > This is a karaf / kar feature related question for servicemix 4.5.2 (2.2.11 > karaf) > > Generating a features.xml with > > <groupId>org.apache.karaf.tooling</groupId> > <artifactId>karaf-maven-plugin</artifactId> > > It's failing to validate with: > > org.xml.sax.SAXParseException: cvc-elt.1.a: Cannot find the declaration of > element 'features'. > > <?xml version="1.0" encoding="UTF-8" standalone="yes"?> > <features xmlns="http://karaf.apache.org/xmlns/features/v1.2.0" > > <feature name="XXXX" version="0-SNAPSHOT" description="XXXX> > <bundle start-level="80">mvn:XXXX/XXX/1.x.x</bundle> > </feature> > > </features> > > What's the best thing to do? Remove the > 'http://karaf.apache.org/xmlns/features/v1.2.0' ? I can't see why it would > fail to validate! > > Thanks > > > > > > -- > View this message in context: > http://servicemix.396122.n5.nabble.com/features-xml-ParseException-tp5720091.html > Sent from the ServiceMix - User mailing list archive at Nabble.com.
