[Bug 2681] Functions taking "." as default argument

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





------- Additional Comments From ashok.malhotra@oracle.com  2006-01-31 17:35 -------
I agree that we should make it clear that for these functions fn() has the same
semantics as fn(.) but I am uncomfortable leaving the error conditions out of
the description.  Thus, I would recommend that we change the descriptions of the
functions as per the example below.

base-uri: delete "If $arg is not specified, returns the value of the base-uri
property of the context item (.) with the above semantics. If the context item
is not a node, an error is raised: [err:FOTY0011]. If the context item is
undefined, an error is raised: [err:FONC0001].". Instead say "If $arg is not
specified, the effect is the same as calling fn:base-uri(.) with the following
error conditions: if the context item is not a node, an error is raised:
[err:FOTY0011]. If the context item is undefined, an error is raised:
[err:FONC0001].".

Received on Tuesday, 31 January 2006 17:35:06 UTC