How about we pick up the string handling functions from XPath 2.0
function library? That may simplify implementation.
We would need to generalize its semantics to deal with XACML data model,
but the basic functionality (and names) should be similar.
I am not sure what an "integer-contains" function would mean.
Daniel;
Original Message-----
From: Craig Forster [mailto:cforster@au1.ibm.com]
Sent: Wednesday, October 03, 2007 9:09 PM
To: XACML TC
Subject: [xacml] New Functionx for XACML 3.0
I'd like to propose a number of new functions for the 3.0 release of
XACML.
The new functions in the current 3.0 draft are predominantly conversion
functions, such as "boolean-to-string".
I think we should take the opportunity to add some string manipulation
functions that have simple mappings to underlying functions in common
programming languages. For example, "string-starts-with" and
"string-ends-with". At the moment this functionality can be only
implemented using regular expressions, which is computationally
expensive,
or non-standard functions such as those available in BEA's WebLogic
Server
(http://edocs.bea.com/wls/docs92/secwlres/xacmlref.html#wp1097027).
As a starting point, I'd like to propose the following functions:
-