W3C home > Mailing lists > Public > public-qt-comments@w3.org > July 2005

[Bug 1720] [FS] what is the "operand" of fs:convert-operand? what is the type of $actual?

From: <bugzilla@wiggum.w3.org>
Date: Thu, 21 Jul 2005 19:18:45 +0000
To: public-qt-comments@w3.org
Cc:
Message-Id: <E1DvgZB-0001fq-Rc@wiggum.w3.org>

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


simeon@us.ibm.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED




------- Additional Comments From simeon@us.ibm.com  2005-07-21 19:18 -------
That's a good catch. Yes the operand intended in the 3rd bullet is $actual.

The intended signature is to take an optional atomic value (it is always applied
in a context of an operator which expects an optional atomic value, like
arithmetic operations, or value comparisons, or bounded by existential
quantification). The 

I believe we should make the following two fixes:

 * We should change the 3rd bullet to:

    3. Otherwise, $actual is returned unchanged.

 * We should change the signature to:

fs:convert-operand($actual as xdt:anyAtomicType?, $expected as
xdt:anyAtomicType) as xdt:anyAtomicType ?

- Jerome
Received on Thursday, 21 July 2005 19:18:51 UTC

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