W3C home > Mailing lists > Public > public-xml-processing-model-wg@w3.org > November 2006

Re: Match Pattern Proposal

From: Alex Milowski <alex@milowski.org>
Date: Wed, 01 Nov 2006 13:31:16 -0800
Message-ID: <45491224.9010008@milowski.org>
To: public-xml-processing-model-wg@w3.org

Norman Walsh wrote:
> / Alex Milowski <alex@milowski.org> was heard to say:
> | For a number of reasons--including support of streaming processors and
> | consistency between viewports and other constructs--I believe we should
> | restrict XPaths to match patterns for everything but parameters.  As
> | such, here is what I think is a cohesive proposal:
> 
> I'm not convinced.
> 
> When I write a select expression on input, for-each, or viewport, I'm
> thinking "Ok, I've got this document in my hand, what nodes do I want
> to select out of it." I think it is more natural to write a select
> expression than a match pattern.

If you are streaming, you don't have the whole document.

Streaming is an important use case here.



-- 
--Alex Milowski

"The excellence of grammar as a guide is proportional to the paucity
of the inflexions, i.e. to the degree of analysis effected by the
language considered."

Bertrand Russell in a footnote of Principles of Mathematics
Received on Wednesday, 1 November 2006 22:32:48 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:21:49 GMT