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

https://www.w3.org/Bugs/Public/show_bug.cgi?id=15807

Jonathan Robie <jonathan.robie@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #5 from Jonathan Robie <jonathan.robie@gmail.com> 2012-02-15 09:15:16 UTC ---
(In reply to comment #0)
> The XQuery 3.0 specification states in 3.16.3 Cast
> 
> "The SimpleTypeName must be the name of a type defined in the in-scope schema
> types, and the {variety} of the type must be simple."

We will change "and the {variety} of the type must be simple" to "and the type
must be simple".

Also, we need to add these two cases to the list of allowable casts:

* We allow casting from one of the members of a union to a union type.
* We allow casting from a value to a union type if you can cast to any member
of the union.

We will also remove production 169 from that section.

-- 
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 Wednesday, 15 February 2012 09:15:23 UTC