W3C home > Mailing lists > Public > public-qt-comments@w3.org > June 2007

[Bug 4595] 1.0.3dev: document(*) with undefined context item

From: <bugzilla@wiggum.w3.org>
Date: Tue, 05 Jun 2007 09:36:44 +0000
To: public-qt-comments@w3.org
Message-Id: <E1HvVT2-0001Ne-8k@wiggum.w3.org>


------- Comment #4 from tim@cbcl.co.uk  2007-06-05 09:36 -------
Yes, we know that the context item static type is "none" because, from C.1
Static Context Components:


Context item static type        none (raises error on access)

The XQTS catalog doesn't define the context item for these queries, therefore
we don't overwrite this default setting.  

I think that XPDY0002 is a bit more helpful than a static typechecking error,
which covers a multitude of sins.  If we throw a static type check error in
this situation then we we fail about 100 more tests which expect XPDY0002 (e.g.
Received on Tuesday, 5 June 2007 09:36:56 UTC

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