RE: ORA-FO-REPLACE-EMPTY 7.5.3 fn:replace

Steve:

Thank you for your comment.  We discussed this on the F&O telcon on
10/14/2003 and decided not to accept your suggestion.

For questions of this type we decided to classify parameters into data
and control parameters.  Data parameters come from the

data model, often as expressions.  They should allow the empty sequence.
Control arguments are part of the query, often specified as literals.
They should not allow the empty sequence.  For fn:replace,  $pattern and
$replacement are control argument and, thus, should not allow the empty
sequence.

 

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 10:32 AM
To: public-qt-comments@w3.org
Subject: ORA-FO-REPLACE-EMPTY 7.5.3 fn:replace

 

Functions and Operators, Section 7.5.3: fn:replace should allow
$pattern, $replacement to be empty sequences.

Received on Tuesday, 14 October 2003 12:06:54 UTC