Re: Match Pattern Proposal

Grosso, Paul wrote:
> And predicates can contain select patterns, so any
> analysis of (predicates in) match patterns must 
> include the same code that would analyze select
> patterns in general.

No.  You just have recognize certain syntax elements
in a predicate.  For example, any descendant axis
use in a predicate will destroy streaming with caching.

> So I fail to see how using match patterns instead
> of select patterns simplifies the implementation.

If you use "selections" via XPath, then only
"//div" will match all divs.

If you use match patterns, then both "//div" and
"div" will match.

--Alex Milowski

Received on Thursday, 2 November 2006 15:47:07 UTC