W3C home > Mailing lists > Public > public-qt-comments@w3.org > December 2009

[Bug 8504] XQTS: CVS: K2-NameTest-21, K2-NameTest-23 invalid XQueryX

From: <bugzilla@wiggum.w3.org>
Date: Wed, 16 Dec 2009 14:21:34 +0000
To: public-qt-comments@w3.org
Message-Id: <E1NKukw-0000SM-Q7@wiggum.w3.org>

--- Comment #4 from Tim Mills <tim@cbcl.co.uk>  2009-12-16 14:21:34 ---
>It tests that a processor can handle invalid input - which is surely a
>reasonable test?

Indeed this is reasonable, but these a
Then this test case should be marked as expecting a parse error in the XQueryX

Our implementation raises a System.Xml.Schema.XmlSchemaValidationException
which we report directly - rather than reporing it as XPST0003 which would be
inappropriate since this is XQueryX we're dealing with.

(XPST0003: It is a static error if an expression is not a valid instance of the
grammar defined in A.1 EBNF)

Or do you suggest that we attempt to observe XPTY0004 by static type analysis
of a syntactically invalid XQueryX program?

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 Wednesday, 16 December 2009 14:21:39 UTC

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