- From: Erik Bruchez <ebruchez@orbeon.com>
- Date: Thu, 22 Apr 2021 10:40:03 -0700
- To: Alain Couthures <alain.couthures@agencexml.com>
- Cc: "public-xformsusers@w3.org" <public-xformsusers@w3.org>
Received on Thursday, 22 April 2021 17:40:29 UTC
Sounds good to me. -Erik On Thu, Apr 22, 2021 at 12:10 AM Alain Couthures < alain.couthures@agencexml.com> wrote: > Hello, > > The main form of the testsuite does not currently work well with XPath > 2.0+ (with Compatibility Mode set to false) because of default text > comparisons even with numeric values. > > This is a well-documented difference with XPath 1.0: > https://www.w3.org/TR/xpath20/#id-incompat-in-false-mode > > Adding an explicit number() function call in expressions sounds like a > good compatibility solution for both XPath 1.0 and XPath 2.0+ engines: > “. > ../count” to be replaced with “number(.) > number(../count)” > > It might be interesting to add a mention to this in XForms 2.0 > specifications. What do you think? > > --Alain >
Received on Thursday, 22 April 2021 17:40:29 UTC