Last call comments on Xpath 2.0

Hello all,

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

------------------------------------------------------------------------------------
fn:node-kind
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
jim.fuller@stuartlawrence.com
www.stuartlawrence.com
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 11:39:31 UTC