Re: comparators and "error"
Alexey Melnikov <alexey.melnikov@isode.com> Wed, 10 May 2006 14:03 UTC
Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id k4AE3FkS060986; Wed, 10 May 2006 07:03:15 -0700 (MST) (envelope-from owner-ietf-mta-filters@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id k4AE3Ej3060985; Wed, 10 May 2006 07:03:14 -0700 (MST) (envelope-from owner-ietf-mta-filters@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-mta-filters@mail.imc.org using -f
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id k4AE3D0P060979 for <ietf-mta-filters@imc.org>; Wed, 10 May 2006 07:03:14 -0700 (MST) (envelope-from alexey.melnikov@isode.com)
Received: from [172.16.1.99] (shiny.isode.com [62.3.217.250]) by rufus.isode.com via TCP (submission) with ESMTPA; Wed, 10 May 2006 15:02:57 +0100
Message-ID: <4461F280.3050900@isode.com>
Date: Wed, 10 May 2006 15:02:40 +0100
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
CC: ietf-mta-filters@imc.org
Subject: Re: comparators and "error"
References: <buylDuhckrLTBjUJ7Xr9Kg.md5@libertango.oryx.com>
In-Reply-To: <buylDuhckrLTBjUJ7Xr9Kg.md5@libertango.oryx.com>
Content-Type: text/plain; charset="us-ascii"; format="flowed"
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-mta-filters@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-mta-filters/mail-archive/>
List-ID: <ietf-mta-filters.imc.org>
List-Unsubscribe: <mailto:ietf-mta-filters-request@imc.org?body=unsubscribe>
Arnt Gulbrandsen wrote: > I've been doing some editing on the draft, trying out how some things > suggested look in prose. > > 1. It seems useful to me that e.g. ascii-numeric can distinguish > between comparing nonequal numbers and comparing out-of-scope input. > > Take the equality operation as an example: > > "Match" means that the collation knows how to work on the input, and > the two inputs are equal as defined by the collation. > "No-match" means that the collation knows how, and the two are unequal. > "Error" means that it doesn't know how to. > > Conflating the two latter cases smells of bad design to me, even > though the difference may not be useful in every case. I agree. > 2. Even though a collation specification distinguishes between > "no-match" and "error", there's no requirement that all protocols > must. If the distinction between "no-match" and "error" is pointless > in e.g. sieve, can't simply sieve treat the two as equal? Ie. "match" > is true, "no-match" is false and "error" is false? Yes, that is a possibility. Maybe we should add a new match type :failedmatch which can help distinguish the no-match case from the error?
- comparators and "error" Arnt Gulbrandsen
- Re: comparators and "error" Dave Cridland
- Re: comparators and "error" Alexey Melnikov
- Re: comparators and "error" Arnt Gulbrandsen
- Re: comparators and "error" Dave Cridland
- Re: comparators and "error" Arnt Gulbrandsen
- Re: comparators and "error" Dave Cridland