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

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