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

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





------- Comment #5 from jmdyck@ibiblio.org  2007-06-05 23:13 -------
(In reply to comment #4)
> Yes, we know that the context item static type is "none" because, from C.1
> Static Context Components:
> 
> http://www.w3.org/TR/xquery/#id-xq-context-components
> 
> Context item static type        none (raises error on access)

Strictly speaking, I don't think the intent is that the default setting be the
type that the FS denotes as "none" (since the XQuery doc doesn't use the FS's
formal type syntax), but rather that it be "not assigned a value".

I think XPST0001 would be more appropriate than XPDY0002.

Received on Tuesday, 5 June 2007 23:13:50 UTC