W3C home > Mailing lists > Public > public-qt-comments@w3.org > March 2004

Re: substring: explanation of negative or zero $startingLoc behaviour

From: David Carlisle <davidc@nag.co.uk>
Date: Sat, 13 Mar 2004 16:49:46 GMT
Message-Id: <200403131649.QAA04533@e3000>
To: liam@w3.org
Cc: public-qt-comments@w3.org


Liam> Actually no, it *is* clearer.

Perhaps (or perhaps not:-) but anyway incompatible with XPath 1.
Given that specifying positions greater than the string length is not an
error and  just silently does the natural thing of not selecting
anything, the behaviour of negative starting values seems perfectly
natural to me.

David
Received on Sunday, 14 March 2004 18:38:48 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:14:07 GMT