Community
Participate
Working Groups
if I have a tree like this: /foo /foo/bar /foo/bar/foo /foo/bar/foobar /foo/foobar and run the following context query: "bar/**" I'll get: /foo/bar /foo/bar/foo /foo/bar/foobar I would have expected: /foo/bar/foo /foo/bar/foobar the .h says "The part "**" matches any sequence of contexts" Does it also mean no contexts? if it does then the .c is correct but I believe it's worth mentioning it in the .h .java and doc. if it doesn't then there is a superfluous line in the match function in contextquery.c also, if it doesn't what would be the way to get the list of all the descendants of a context but not the context itself? I'll provided patches for whatever is the correct answer. Thanks in advance.
"also, if it doesn't what would be the way to get the list of all the descendants of a context but not the context itself?" was supposed to read: "also, if it DOES what would be the way to get the list of all the descendants of a context but not the context itself?"