W3C home > Mailing lists > Public > public-qt-comments@w3.org > May 2015

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

From: <bugzilla@jessica.w3.org>
Date: Fri, 01 May 2015 07:24:07 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-28588-523-tThSbFxkq4@http.www.w3.org/Bugs/Public/>

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

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