[Home] [By Thread] [By Date] [Recent Entries]

  • From: "Michael Kay" <mike@s...>
  • To: "'Klotz, Leigh'" <Leigh.Klotz@x...>,"'Rick Marshall'" <rjm@z...>
  • Date: Fri, 15 Dec 2006 23:24:24 -0000

> 
> XForms added one to its XPath functions, but it doesn't (and 
> can't) do conditional evaluation. 
> http://www.w3.org/TR/xforms/slice7.html#fn-if

Worse, the XForms if() function allows (and arguably requires) both the
"then" and "else" expressions to be evaluated regardless whether the
"condition" parameter is true or false.

(There's also a forwards compatibility nightmare looming because XForms
failed to put its "if" function in a private namespace: it now clashes with
the XPath 2.0 "if" construct).

Michael Kay
http://www.saxonica.com/



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member