[Bug 28588] [QT3] Test K-SeqExprCast-422a expects FORG0001, but XPTY0117 should be thrown

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

Michael Kay <mike@saxonica.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mike@saxonica.com

--- Comment #1 from Michael Kay <mike@saxonica.com> ---
I think the description of the error in XPath/XQuery Appendix F is incorrect.

The only time XPTY0117 is thrown is when this conversion is invoked in the
course of applying the function conversion rules (i.e. when an untypedAtomic
argument is supplied to a funcion expecting a QName. It is not raised "In a
cast expression".

The rules for cast expressions are in F+O. For a cast from untypedAtomic to
QName, two errors are defined: FORG0001 if the value is not a lexically-valid
QName, and FONS0004 if the namespace prefix is not in scope.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Friday, 1 May 2015 07:24:09 UTC