Hi Giullaume, Thanks for your reply. You're right, there's a parenthesis missing. Unfortunately the parenthesis only got lost when I tried to simplify things in the email. The actual XML has one more parenthesis, this is an unaltered copy and paste from it:
<reference name="parser" interface="org.apache.clerezza.rdf.core.serializedform.Parser" cardinality="1..1" policy="static" target="(&(supportedFormat=application/rdf+xml) (supportedFormat=application/n-triples))" bind="bindParser" unbind="unbindParser"/> Cheers, Reto On Tue, Mar 24, 2015 at 9:40 AM, Guillaume Nodet <[email protected]> wrote: > Aren't you missing a closing parenthesis at the end of your filter ? > > 2015-03-24 10:26 GMT+01:00 Reto Gmür <[email protected]>: > > > Hello, > > > > Only when using the maven bundle plugin version > 2.5.0 I get the > following > > error when using a target clause combining multiple conditions > > (target="(&(foo=bar)(name=foo)"). > > > > Invalid filter syntax in requirement > > > > > osgi.service~~=effective:=active;filter:="(&(objectClass=org.apache.clerezza.rdf.core.serializedform.Parser)(&(foo=bar)(name=foo))". > > Reason Malformed query > > > > > > This is the entry in xml file in OSGI-INF: > > > > <reference name="parser" > > interface="org.apache.clerezza.rdf.core.serializedform.Parser" > > cardinality="1..1" policy="static" target="(&(foo=bar)(name=foo)" > > bind="bindParser" unbind="unbindParser"/> > > > > > > Am I using the wrong syntax and the bundle-plugin just got stricter? > > > > Cheers, > > Reto > > >

