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 08:02:07 +0000
CC:
To: public-qt-comments@w3.org
Message-Id: <E1HvTzT-0004JE-W7@wiggum.w3.org>

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





------- Comment #1 from mike@saxonica.com  2007-06-05 08:02 -------
I've looked at a sample of these and I'm not convinced. XPDY0002 is a dynamic
error, and I think you should only raise a dynamic error for an expression that
contains no static errors.

K2-NodeTest-10
document(*)
is a call on an undefined function - a static error

K2-NodeTest-19 
document-node(schema-element(thisTypeIsNotRecognizedExample.Com))
uses an element name that's not in an imported schema - a static error

K2-NodeTest-23 
element(notBound:ncname)
uses an undeclared namespace prefix - a static error

and a few others in the same vein. I don't see how a dynamic error can be
justified for any of these cases.
Received on Tuesday, 5 June 2007 08:02:12 UTC

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