From: "Jeremy Quinn" <[EMAIL PROTECTED]>
> At 1:51 pm +0100 20/3/02, Nicola Ken Barozzi wrote: > >Your needs are new to me, and highlight a possible deficiency in the > >handling of xml coming in. > >If we SAX away with it, we go in handle-errors. > >If we parse before, we do it twice. > > ????? If we validate the XML in a action, and then send the SAX events, it seems that we are doing two passes, ie two "parsings". If we make the pipeline do the validating, we mix the two phases (chacking and delivering the xml) and things get mixed up. IMV, we should use the pipeline only for content delivery, not for decisions (if possible, of course). In this regard the flowmap will help a lot in contextualizing these needs. > >IMO this is the point. > > I am validating twice, the form initially gets sent to the 'preview' > behaviour, where the user gets to see what changes they made and see what > the validator thought of it, they have to submit the hidden for again (this > time to the 'put' behaviour) to get the changes committed. > > Is this what you mean by "If we parse before, we do it twice"? See above. > >> The <slash-edit/> sitemap is broken down into small snippets that call > >each > >> other internally. If these internal pipelines could report errors in a > >> controlled way, it would be much easier to control the response. > > > >This is a *very* interesting point. > > > >You are using sitemaps as flowmaps. > > Kind of I guess .... Which is stunning BTW :-) I think you are the first one to stress the pipeline to its limits, and your editor could be the POC app for the future flowmap. > >Thank you for slash edit. > >I think it's very cool :-) > > I stand on the shoulders of others. We all do. Chicken and egg ;-) -- Nicola Ken Barozzi [EMAIL PROTECTED] - verba volant, scripta manent - (discussions get forgotten, just code remains) --------------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]