W3C home > Mailing lists > Public > www-webdav-dasl@w3.org > April to June 1998

use of boolean literals

From: Jim Davis <jdavis@parc.xerox.com>
Date: Thu, 16 Apr 1998 10:40:45 PDT
Message-Id: <3.0.3.32.19980416104045.007ff4e0@mailback.parc.xerox.com>
To: www-webdav-dasl@w3.org
The draft in secton 8.7.5 uses lowercase t and f as representations for
boolean values.  I don't like these much.  What would be better?

First I ask, does any other HTTP protocol already define a string
representation for boolean values, e.g. I recall seeing upper case T and F
in DAV, but I think it's gone now.  If there is already a precedent we
should follow it.

Actually I think it likely that we will need to define a tag that
represents the "unknown" value (so that we can construct searches for
properties with unknown values), we may as well define tags for True and
False, too.  In that case we should be these tags in 8.7.5 as well.  But
see also my note about the casesensitive tag.

I realize that, conceptually, one could distinguish between boolean values
in the context of a search filter expression, and boolean values that are
just controlling options such as case sensitivity, but it's not clear to me
that making this distintinction wouldn't add confusion to the spec, as in
"why is 'true' written as 'T' here and as '<DAV:TRUE/>' there?"
Received on Thursday, 16 April 1998 13:43:01 GMT

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