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

Match patterns or select patterns?

From: Norman Walsh <Norman.Walsh@Sun.COM>
Date: Tue, 24 Oct 2006 11:22:41 -0400
To: public-xml-processing-model-wg@w3.org
Message-ID: <87lkn5viv2.fsf_-_@nwalsh.com>
/ Alex Milowski <alex@milowski.org> was heard to say:
| Norman Walsh wrote:
|> / Alex Milowski <alex@milowski.org> was heard to say:
|> | In the case of viewports, "//h:div" and "h:div" are equivalent.
|>
|> No, I don't think so. These are select patterns, not match patterns. I
|> would expect h:div to be the same as /h:div in this case, not //h:div.
|
| That's an issue we should discuss because I've always imagined them
| as match patterns.

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?

                                        Be seeing you,
                                          norm

-- 
Norman Walsh
XML Standards Architect
Sun Microsystems, Inc.

Received on Tuesday, 24 October 2006 15:23:20 GMT

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