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

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