W3C home > Mailing lists > Public > public-qt-comments@w3.org > September 2003

RE: ORA-FO-INTEGERPARAMS 7.4.6 fn:substring

From: Ashok Malhotra <ashokma@microsoft.com>
Date: Sun, 21 Sep 2003 14:55:36 -0700
Message-ID: <E5B814702B65CB4DA51644580E4853FB0AB92D23@red-msg-12.redmond.corp.microsoft.com>
To: "Stephen Buxton" <stephen.buxton@oracle.com>, <public-qt-comments@w3.org>
Thank you for your comment.  fn:subsequence was given xs:double
parameters to align with substring which has double parameters for
backwards compatibility.  The new functions were given integer
parameters as they were new and there was no backwards compatibility

All the best, Ashok 


From: public-qt-comments-request@w3.org
[mailto:public-qt-comments-request@w3.org] On Behalf Of Stephen Buxton
Sent: Monday, June 30, 2003 7:47 AM
To: public-qt-comments@w3.org
Subject: ORA-FO-INTEGERPARAMS 7.4.6 fn:substring 


Functions and Operators, Section 7.4.6 fn:substring has a $startingLoc
parameter that is an xs:double. Why isn't this an xs:integer ? 

cf 7.4.15 fn:string-pad where the $padCount parameter is xs:integer.
cf 15.1.14 fn:subsequence where $startingLoc is double
cf 15.1.12 fn:insert-before, 15.1.13 fn:remove where $position is

If this is because of backwards-compatibility, an explanatory note to
that effect would be helpful.
Received on Sunday, 21 September 2003 17:55:49 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:56:49 UTC