[Home] [By Thread] [By Date] [Recent Entries]
> Ah ! Yes ! castable as... > > I've also found xs:boolean(number(s)) is working correctly. > > You didn't run enough tests. xs:boolean applied to a number returns false if the number is 0 or NaN. So you'll not only get false if the input is "banana", you'll also get false if it is "0", "0.000", or "NaN'. Michael Kay Saxonica
|

Cart



