RE: ORA-FO-STARTINGATZERO 15.1.6

I agree and would go further.
 
If we are to keep item-at($x, $n) then it should have the same behavior as
$x[$n].
 
And if it has the same behavior, then we might as well drop it.
 
Michael Kay
 

-----Original Message-----
From: Stephen Buxton [mailto:stephen.buxton@oracle.com] 
Sent: 30 June 2003 15:28
To: public-qt-comments@w3.org
Subject: ORA-FO-STARTINGATZERO 15.1.6 



Functions and Operators, Section 15.1.6 
"If the value of $posParam is ... equal to zero (0), then an error is raised
". 
This is inconsistent with the way the substring functions work. 


Suggest: each of the string functions should define what they do with zero
and negative values for position and length, and they should be consistent.

Received on Tuesday, 1 July 2003 16:44:12 UTC