Jacek Kopecky wrote: > Please, can you show me the specific problems created by > separation of Headers and Body? [...] I think it ultimately boils down to choosing between option A or B below. A = Envelope process() { Headers hs = headers(); Body b = body(); Trailers ts = trailers(); while (! hs.atEnd()) { Header h = hs.next(); h.process(hs, b, ts); } b.process(hs, b, ts); while (! ts.atEnd()) { Trailer t = ts.next(); t.process(hs, b, ts); } } B = Envelope process() { Blocks bs = blocks(); while (! bs.atEnd()) { Block b = bs.next(); b.process(bs); } } Jean-Jacques.Received on Tuesday, 12 June 2001 10:51:11 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:59:01 GMT