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

Re: Match patterns or select patterns?

From: Alessandro Vernet <avernet@orbeon.com>
Date: Tue, 24 Oct 2006 17:42:22 -0700
Message-ID: <4828ceec0610241742s379b36bdo4ab909862f898e50@mail.gmail.com>
To: public-xml-processing-model-wg <public-xml-processing-model-wg@w3.org>

Norm/Alex,

On 10/24/06, Norman Walsh <Norman.Walsh@sun.com> wrote:
> Yes, let's. I've always thought the attribute name "select" was a
> clue. :-)
>
> Given that we will be using select expressions in other places, like
> the tests on choose/when, I think it's going to be clearer to users
> if we use select expressions everywhere.
>
> What have others been thinking?

My understanding is that those are XPath expressions.

An XProc implementation can recognize a subset of XPath and use its
own streaming implementation for those. For the other XPath
expressions that don't fit in the subset the implement will use an
off-the-shelf XPath library. The implementation will want to choose
that subset wisely so "most of the cases" fall in that subset. And it
seems to me that this applies not only to the viewport, but also to
any other construct that uses a 'select'.

Alex
-- 
Blog (XML, Web apps, Open Source):
http://www.orbeon.com/blog/
Received on Wednesday, 25 October 2006 00:42:38 GMT

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