Oxygen XML Editor
 
[XML-DEV Mailing List Archive Home] [By Thread] [By Date]

RE: [xml-dev] XML design of ((a and b) or c)


  • From: "Michael Kay" <mike@...>
  • To: "'Klotz, Leigh'" <Leigh.Klotz@...>,"'Rick Marshall'" <rjm@...>
  • 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]
 
© 2002-2008 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy
This website was created & generated with <oXygen/> XML Editor
Keywords