[Bug 4601] [FS] specification of fs:convert-operand() inconsistent

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


Jens Teubner <jens.teubner@inf.ethz.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jens.teubner@inf.ethz.ch




--- Comment #3 from Jens Teubner <jens.teubner@inf.ethz.ch>  2008-09-02 12:24:07 ---
(Sorry for my late response. Somehow I missed your comment a year ago.)

I'm not sure whether the proposed change actually makes things better. Note
that that very specific sentence is about fs:convert-operand(), not the general
comparison.

More specifically, fs:convert-operand() will only cast its first argument (if
necessary, and as determined by the second argument). Your sentence suggests
that "either value" is cast to something, which is not what
fs:convert-operand() does.

A possible fix to your sentence could be

  If either value is of type xs:untypedAtomic, this function casts
  the first argument to a type determined by the second argument.

I could also imagine something less specific, like

  This function ensures compatible types if either input to the general
  comparison was an instance of xs:untypedAtomic or a node.


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Tuesday, 2 September 2008 12:24:43 UTC