W3C home > Mailing lists > Public > public-qt-comments@w3.org > February 2012

[Bug 15807] [XQ30] 3.16.3 Cast - {variety}simple?

From: <bugzilla@jessica.w3.org>
Date: Mon, 06 Feb 2012 16:54:58 +0000
To: public-qt-comments@w3.org
Message-Id: <E1RuRqE-0007uy-7j@jessica.w3.org>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=15807

--- Comment #3 from Michael Kay <mike@saxonica.com> 2012-02-06 16:54:57 UTC ---
Actually, 5(d) makes it clear that we allow casting from string/untypedAtomic
to any simple type whatsoever. So (a) my comment 2 is wrong, and (b) the
presence of the production AtomicOrUnionType in this section is an anachronism.

We also allow casting from an instance of one of the member types of a union to
the union type, and from a value that is castable to one of the member types of
a union to the union type. These cases should probably be included in the list
of cases in rule 5.

-- 
Configure bugmail: https://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 February 2012 16:55:05 UTC

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