RE: ORA-FO-INPUT-TYPES

Most functions that do their own conversion do so, because the standard
conversions do not apply. E.g. not() is based on the effective boolean
value and not on the normal atomization rules.

Best regards
Michael

> -----Original Message-----
> From: public-qt-comments-request@w3.org [mailto:public-qt-comments-
> request@w3.org] On Behalf Of Stephen Buxton
> Sent: Monday, June 30, 2003 19:38 PM
> To: public-qt-comments@w3.org
> Subject: ORA-FO-INPUT-TYPES
> 
> 
> Some functions take parameters with generic types, and define the
> semantics of the atomization/conversion that is done inside the
> function. Others expect to have more specific types passed in. We
think
> the latter is preferable: functions should not be expected to do
> type-conversion.
> 
> eg the boolean-not() function should take a boolean argument rather
than
> item* - the caller should do the implicit or explicit casting to
boolean
> before passing the argument to the function.
> 
> 

Received on Tuesday, 1 July 2003 02:33:10 UTC