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

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





--- 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
case.  

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