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:51:21 +0000
CC:
To: public-qt-comments@w3.org
Message-Id: <E1HvUl7-00074C-Co@wiggum.w3.org>

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





------- Comment #2 from tim@cbcl.co.uk  2007-06-05 08:51 -------
In all these examples there is an implicit use of the context item.  This can
be identified during static analysis.  It happens that in our implementation,
we find this error before the expected error. 

e.g.  We process function calls by first type checking the arguments, then
checking to see whether a function with the right name, arity and type of
arguments exists.  In determining the type of the argument, it is apparent that
the context item is not defined. 

You say "I think you should only raise a dynamic error for an expression that
contains no static errors".  Is this mandated by the specification or a
personal opinion?
Received on Tuesday, 5 June 2007 08:51:23 UTC

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