W3C home > Mailing lists > Public > public-qt-comments@w3.org > September 2010

[Bug 10555] Pattern matching proposal for XQuery

From: <bugzilla@jessica.w3.org>
Date: Mon, 06 Sep 2010 13:02:14 +0000
To: public-qt-comments@w3.org
Message-Id: <E1OsbKw-0006Fn-4C@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=10555


Michael Kay <mike@saxonica.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mike@saxonica.com




--- Comment #1 from Michael Kay <mike@saxonica.com>  2010-09-06 13:02:12 ---
I think it would be better to avoid the duality that exists in XSLT between
patterns and expressions. A pattern should be an expression that returns true
or false based on evaluating some condition applied to the context item, so
that it can be used anywhere a boolean expression can be used. So if for
example the syntax [|pattern|] is used, then [|p|] is an expression that
returns true if the context node is a p element.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Monday, 6 September 2010 13:02:15 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:05 GMT