W3C home > Mailing lists > Public > www-webdav-dasl@w3.org > October to December 2002

RE: Proposed resolution for issue "null-ordering"

From: Wallmer, Martin <Martin.Wallmer@softwareag.com>
Date: Thu, 28 Nov 2002 10:47:48 +0100
Message-ID: <DFF2AC9E3583D511A21F0008C7E6210602D906C7@daemsg02.software-ag.de>
To: "'Julian Reschke'" <julian.reschke@gmx.de>, www-webdav-dasl@w3.org

d'accord

Martin

-----Original Message-----
From: Julian Reschke [mailto:julian.reschke@gmx.de]
Sent: Mittwoch, 27. November 2002 20:40
To: www-webdav-dasl@w3.org
Subject: Proposed resolution for issue "null-ordering"



Discussion:

ameliac@us.ibm.com 2002-02-20

In the WebDAV SEARCH spec (5.6, DAV:orderby), it says that nulls sort low,
to match SQL92. However, SQL92 and SQL99 both say "Whether a sort key value
that is null is considered greater or less than a non-null value is
implementation-defined, but all sort key values that are null shall either
be considered greater than all non-null values or be considered less than
all non-null values." (words taken from SQL99, 14.1 <declare cursor> General
Rule 2)c), in reference to null handling for the <order by clause>. ) I
would note that in 5.5.3 WebDAV SEARCH says nulls are less than all other
values in a comparison, so the DAV:orderby matches that statement, it just
gives an inaccurate reason.


Proposed resolution:

Replace

	"In the context of the DAV:orderby element, null values are
considered to
collate before any actual (i.e., non null) value, including strings of zero
length (as in [SQL99])."

by

	"In the context of the DAV:orderby element, null values are
considered to
collate before any actual (i.e., non null) value, including strings of zero
length."

Feedback appreciated,

Julian


[1]
<http://greenbytes.de/tech/webdav/draft-reschke-webdav-search-latest.html#rf
c.issue.null-ordering>
--
<green/>bytes GmbH -- http://www.greenbytes.de -- tel:+492512807760
Received on Thursday, 28 November 2002 04:48:02 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 22 March 2009 03:38:09 GMT