From: Lane S. <la...@op...> - 2004-03-11 02:01:46
|
The unit test idea is the best way to go. I was thinking of this late last night when nothing would work. Let's get a unit test case to show what i mean and then decide how we want to tackle this. -Lane Eric B.Ridge wrote: > can you boil all of this down into a simple unit test for all of us to > see? > > eric > > On Mar 10, 2004, at 5:20 PM, Lane Sharman wrote: > >> Greetings, >> >> Changes to WM 2.0 have introduced a regression in melati and yours >> truly is running low on patience and work arounds. >> >> Basically, interleaving of the output no longer works as expected in >> 2.0. I have looked at FW and Brians cvs changes and others and cannot >> see the regression in the code. >> >> Interleaving occurs when you have 2 or more objects which can write >> to the output stream with byte buffers acting as backing stores. A >> template chunk or exposed object which "expands" and uses this >> backing store can race ahead of the rendering of the overall >> template. EBR and I did some of this stuff early on a few years back. >> As in >> >> ... template begin >> >> $Render("Foobar", $output) >> >> ... template end >> >> >> In WM 2.0, we therefore have a functional difference. The above >> snippet of code would render "Foobar" at the beginning of the output >> stream and not at its physical location. >> >> I have tried the things that made sense. And, I have tried to make my >> complete ignorance of Melati a kind of blessing. It is now a curse. >> And, bitter. Any approaches, ideas would be most welcome. I am >> actually considering altering the code in o.w.FastWriter to write to >> the target output stream, wrapped by a buffer stream, but am afraid >> this would break a whole lot of other things. >> >> thanks for giving this some thought and a reply. >> >> -- >> Lane Sharman >> For Protection from SPAM and Virus, >> Extend to the Network Your Perimeter of Defense: >> http://www.opendoors.com >> 858-755-2868 >> >> >> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by: IBM Linux Tutorials >> Free Linux tutorial presented by Daniel Robbins, President and CEO of >> GenToo technologies. Learn everything from fundamentals to system >> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click >> _______________________________________________ >> Webmacro-devel mailing list >> Web...@li... >> https://lists.sourceforge.net/lists/listinfo/webmacro-devel > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Melati-developers mailing list > Mel...@li... > https://lists.sourceforge.net/lists/listinfo/melati-developers > -- Lane Sharman For Protection from SPAM and Virus, Extend to the Network Your Perimeter of Defense: http://www.opendoors.com 858-755-2868 |