W3C home > Mailing lists > Public > public-forms@w3.org > September 2010

Regex functions needed

From: John Boyer <boyerj@ca.ibm.com>
Date: Thu, 16 Sep 2010 14:14:59 -0700
To: public-forms@w3.org
Message-ID: <OFCC886FE9.24AA3441-ON882577A0.0073CEFF-882577A0.0074BB70@ca.ibm.com>
We have an ancient resolution from 2005 to add a pattern MIP and some 
regex pattern matching functions from XPath 2.0.

There seems to be little point in adding a MIP given a function like XPath 
2.0's "matches" function, and the function is way easier to add (just ask 
Orbeon who already have it by incorporating XPath 2.0).

Without having to require XPath 2.0, I'd still like to get a baseline for 
XForms 1.2 that includes these capabilities, since they occur in about 20% 
of the constraint tests in a set of large forms that I am looking at right 
now.

We previously agreed that new functions would be added to XForms 1.2 only 
if namespace qualified, and in other cases we've discussed so far, xforms 
is the logical namespace.  It seems reasonable to do the same thing here, 
even though these are XPath 2.0 functions, just to be consistent and avoid 
any possible disconnects between the XPath 2.0 functions and the 
associated functions operating in an XPath 1.0 expression.

Thanks,
John
Received on Thursday, 16 September 2010 21:15:41 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 October 2013 22:06:54 UTC