I'm trying to write something using the OOPath notation and I'm having some problems dealing with sibling bindings
I want to do something like this
/a[$aBinding:this, /b[some conditions, $bBinding: this], /c[some conditions, $cBinding: this]
Since the data is hierarchical I can't really separate these very well but the b and c bindings share the same parent. The main problem is that an OOPath like the above ends up in an error like "Only one oopath per pattern is allowed".
I am using the latest version of Drools (10)
Is there some syntax issue or limitation I'm hitting here?