[Bug 10555] Pattern matching proposal for XQuery

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 UTC