ietf-mta-filters
[Top] [All Lists]

comparators and "error"

2006-05-02 08:56:55

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.

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?

Arnt

<Prev in Thread] Current Thread [Next in Thread>