W3C home > Mailing lists > Public > www-xpath-comments@w3.org > April to June 2003

Last call comments on Xpath 2.0

From: Jim Fuller <jim.fuller@stuartlawrence.com>
Date: Fri, 20 Jun 2003 14:56:26 +0100
Message-ID: <DAE6F516A94A37438DF28532A524C85D4CE36B@mercury.slg.local>
To: <www-xpath-comments@w3.org>

Hello all,

listening to Dimitre's call to arms....this is my first posting so apologies for dupes etc..;

some sugar: what about cdata type test? can we add a whitespace node type test?

why not add a lightweight schematron-like fn:assert() function, probably nearthe the fn:trace section
 fn:assert(test,pass element path, fail element path)
ex.fn:assert(count(//fingers) = 4, system/message/pass_element, system/message/fail_element)
note that this could be used in xacml type situations as well


as fn:trace is currently defined, why not have fn:log equivelent function, might help some non-english speakers


along the lines of handling languages...there may need to be some more fn:lang type functionality more on this in my 2nd post


why not add fn:random as per latest exslt rand:random() debate;
integer * ranged-random-sequence(integer minValue, integer maxValue[,integer
numberOfItems := 1 [,double seed := (double)current-time()]])

Jim Fuller
SLG Technical Manager
This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient please contact the sender immediately. Any disclosure, copying, distribution or any other use of this communication is strictly prohibitedand may be unlawful. Stuart Lawrence Marketing Communications Limited reserves the right to monitor and intercept communications for unlawful business purposes.

This also confirms that this message has been swept for viruses, although Stuart Lawrence Marketing Communications Limited accepts no responsibility for any loss or damage resulting directly or indirectly from the use of this email or contents.
Received on Friday, 20 June 2003 09:58:31 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:02:15 UTC