Mark Nottingham wrote:


On 18/07/2005, at 11:10 AM, James M Snell wrote:

Ch 3. fh:stateful seems to be only needed for a newborn stateful feed. As an alternative one could drop fh:stateful and define that an empty fh:prev (refering to itself) is the last document in a stateful feed. That would eliminate the cases of wrong mixes of fh:stateful and fh:prev.


+1. After going through this, fh:stateful really doesn't seem to be necessary. the presence of fh:prev would be sufficient to indicate that the feed has a history and a blank fh:prev would work fine to indicate the end of the history.


I thought about the comments on the plane yesterday, and I agree. However, I'm wary of special URI values; also, I want to preserve stateful=false.

So, what about saying that you can omit fh:stateful *if* fh:prev is in the feed?


--
Mark Nottingham     http://www.mnot.net/


I would say that if fh:prev is present, stateful=true is assumed. if fh:prev is not present, stateful=false is assumed. Omit fh:prev in the final feed in the chain and you know you've reached the end.

- James

Reply via email to