spf-discuss
[Top] [All Lists]

Re: [spf-discuss] draft-schlitt-spf-classic AUTH48 review

2006-03-27 18:50:57
william(at)elan.net wrote:

On Mon, 27 Mar 2006, Nick Nicholas wrote:

On Monday, March 27, 2006 at 9:27 AM Matthew.van.Eerde wrote:

Kurt Andersen wrote:

How about a more active statement:

When a mechanism is evaluated, one of three things happens:
it matches; it fails to match; or it throws an exception.

Works for me.

I was going to make that very suggestion.

And I'm of the same mind with someone else who was troubled with the
"throws an exception" phrase.  What about something along the lines of
"produces an error" instead?  The "throws an exception" language is too
close to jargon for my tastes.

Producing errors is bad, mmmkay? :)
But seriously, a mechanism cannot produce, or cause errors, it is the evaluation that discovers/reports/uncovers/hits/etc. the error. Throw just happens to be a strange enough English word.

2 a : to cause to fall <threw his opponent>
2 b : to cause to fall off : <the horse threw its rider>
13 : to bring forth : give birth to : SIRE, PRODUCE <throws a good crop> <threw large litters>
14 : to lose intentionally <throw a game>


I put in as alternative-2 the following text for 4.6.2:


   When a mechanism is evaluated, one of three things can happen: it can
   match, it can not match, or it can cause an error."

I'm no fan of 'throwing exceptions' or even errors but there is something to
be said for consistency. 'Return' is taken, 'Report' is close but mail servers and spamcops already do that and most other terms are pseudo-code.

I see one more throwing of exceptions in the 8th paragraph of Section 5., it would look a little odd as 'throws the error "TempError"' but not too-bad

It may be to late and/or too much but I had fun anyway...


_4.6.2 Mechanisms P1-3
_
Each mechanism is _evaluated_ in turn from left to right _until there is a result to return, either from a qualifier or an error_.

When a mechanism matches, the qualifier value determines the result of the record. When an error is thrown, the error value is returned. When it does not match, continue to the next mechanism. If there are no more mechanisms, the result is specified in Section 4.7.
_
The possible qualifiers ....


If you think phrasing this as "or it can produce an error" is better,
we can do it as well, but I think produce does not work as well when
mechanism is a subject on the line. Please comment.


--
Robin Harrison
Internet Access Solutions Ltd.

-------
Sender Policy Framework: http://www.openspf.org/
Archives at http://archives.listbox.com/spf-discuss/current/
To unsubscribe, change your address, or temporarily deactivate your subscription, please go to http://v2.listbox.com/member/?listname=spf-discuss(_at_)v2(_dot_)listbox(_dot_)com