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

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?

- Paul

Received on Friday, 2 July 2010 01:10:15 UTC