W3C home > Mailing lists > Public > public-qt-comments@w3.org > June 2011

[Bug 12951] Remove restrictions on "/" (was "Simple mapping operator")

From: <bugzilla@jessica.w3.org>
Date: Wed, 15 Jun 2011 23:01:02 +0000
To: public-qt-comments@w3.org
Message-Id: <E1QWz54-0004pr-0A@jessica.w3.org>

--- Comment #4 from Michael Kay <mike@saxonica.com> 2011-06-15 23:01:01 UTC ---
One of the reasons we don't allow atomic values on the LHS of "/" is that
people felt it was not acceptable that let $x := 10 return $x/2 should be legal
and return 2. Though you get the same problem with @price/2 which is legal
today and returns 2...

The other problem with overloading "/" is that there's also a need for simple
mapping (without deduplication and sorting) with nodes on the RHS, for example

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 Wednesday, 15 June 2011 23:01:05 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:35 UTC