[Bug 4901] [FO11] Casting between QName and NOTATION

http://www.w3.org/Bugs/Public/show_bug.cgi?id=4901


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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jonathan.robie@redhat.com




--- Comment #3 from Jonathan Robie <jonathan.robie@redhat.com>  2009-04-14 16:02:42 ---
This would also require changes to the XQuery and XPath specifications. Using
XQuery 1.0 as a baseline, at least the following would need to be changed:

3.12.3 Cast

If the target type of a cast expression is xs:QName, or is a type that is
derived from xs:QName or xs:NOTATION, and if the base type of the input is not
the same as the base type of the target type, then the input expression must be
a string literal [err:XPTY0004].

"must be a string literal"
=> "must be a string literal or a QName"

3.12.4 Castable

If the target type of a castable expression is xs:QName, or is a type that is
derived from xs:QName or xs:NOTATION, and the input argument of the expression
is of type xs:string but it is not a literal string, the result of the castable
expression is false.

"is not a literal string"
=> "is not a literal string or a QName"

Other changes may be required in these documents, these are the only two I saw.


-- 
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 Tuesday, 14 April 2009 16:02:52 UTC