W3C home > Mailing lists > Public > public-qt-comments@w3.org > February 2011

Re: [FT] expected error for W3C test ft-3.4.1-expressions-q2

From: Paul J. Lucas <paul@lucasmail.org>
Date: Mon, 14 Feb 2011 19:19:51 -0800
Cc: public-qt-comments@w3.org
Message-Id: <83293462-C92D-4D03-AA74-DBE9662FCCCA@lucasmail.org>
To: Mary Holstege <mary.holstege@marklogic.com>
On Jul 7, 2010, at 11:53 AM, Mary Holstege wrote:

>> This query is in part:
>> 	using language "123"
>> The expected errors for the query are FTST0009 or FTST0013.  Why isn't XPTY0004 also an expected error?
>> The specification, section 3.4.1, says in part:
>>> The StringLiteral following the keyword language designates one 
>> language. It must be castable to xs:language; otherwise, an error is raised: [err:XPTY0004].
>> Well, "123" isn't castable to xs:language, so XPTY0004 should be raised -- right?
> 
> Right you are. I have fixed the catalog.

Did you?  As far as I can tell, the catalog hasn't been fixed in CVS.  There is also this bug:

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

that is still open.

- Paul
Received on Tuesday, 15 February 2011 03:20:27 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:45 UTC