OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] Push / pull model

[ Lists Home | Date Index | Thread Index ]

Rich Salz wrote:

> I generally prefer a pull model because it means I don't have to resort
> to tricks to get and keep my state around.
>
> I think the pull model falls apart when you want to do several things in
> parallel as data comes streaming in -- e.g., build a DOM tree,
> canonicalize the data for hashing (and XML DSIG).  You then run into the
> old GUI limitation of event loops:  "there can be only one."

hi,

why not to buffer events and run them through different processing pipelines?
it should be easy to do with pullparser that buffers events and has replay function.

thanks,

alek





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS