[Xpath-ng] Proposal for definition of values/lists
Jeff Kenton
jkenton at datapower.com
Mon Dec 2 07:24:59 MST 2002
Joe English wrote:
> A good criterion for designing type conversion rules is that
> they should commute. For instance, the result of converting a
> string to a number and then to a boolean should be the same as
> converting a string to a boolean directly. More generally,
> you want T2->T3(T1->T2(x)) = T1->T3(x) for all types T1,
> T2 and T3.
>
I agree with the sentiment here, but the word you want is probably
"transitive", not "commutative".
--
--------------------------
Jeff Kenton
DataPower Technology, Inc.
More information about the Xpath-ng
mailing list