W3C home > Mailing lists > Public > public-qt-comments@w3.org > June 2006

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

From: <bugzilla@wiggum.w3.org>
Date: Thu, 01 Jun 2006 16:25:03 +0000
CC:
To: public-qt-comments@w3.org
Message-Id: <E1Flpyp-0001VQ-6v@wiggum.w3.org>

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


frans.englich@telia.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |carmelo@nist.gov




------- Comment #4 from frans.englich@telia.com  2006-06-01 16:25 -------

Ashok, could you check this one more time?

As I see it, Michael's key points are that:

* "These changes remove all uses of FOTY0011"
* And to use XPDY0002 more; "it's probably best to simply change the
error codes for "context item not defined" to XPDY0002."
* That instead of FOTY0011 is XPTY0004 raised when the context item should
evaluate to a node but doesn't.

However, I think the proposed wording in comment #2 is not consistent with
that:

"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]."

To me, it also looks like it is identical to what error codes that currently
are invoked.

(Btw, I think that when Michael at the very end wrote "but FODC0001 remains in
use for position() and last()," that FONC0001 was intended.)


Frans
Received on Thursday, 1 June 2006 16:25:08 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:12 UTC