[xquery-talk] Function for determining one XPath as subset of another

Pavel Velikhov pavel.velikhov at gmail.com
Thu Jan 28 04:28:12 PST 2016

> Okay thanks to everyone for the replies.
> I think the scope of what I was looking for got thrown out in all the
> discussion, or perhaps I wasn't clear enough early in my initial post.
> I am not interested in XQuery, and I am only interested in a small
> subset of XPath. I am concerned with comparing two path expressions,
> these path expressions may have predicates, what I didn't make clear
> is that those predicates may not contain functions, only the
> comparison operators eq, ne, gt, ge, lt, le, and =, !=, >, >=, <, <=.

So you need an algorithm to test subsumption of path expressions (with the given limitations)?
Or just that one case?

More information about the talk mailing list