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 and Pull?

[ Lists Home | Date Index | Thread Index ]

I'm not familiar with XmlReader, but just a quick question, before I
look at the docs.  What is the benefit of stream-based without event
handling?

Ilya

> -----Original Message-----
> From: Jason Diamond [mailto:jason@injektilo.org] 
> Sent: Friday, January 25, 2002 3:22 PM
> To: xml-dev@lists.xml.org
> Subject: Re: [xml-dev] Push and Pull?
> 
> 
> > I'd describe the main difference as "event-driven" vs. 
> "tree-based".  
> > Event-driven processing models can have a "push" interface 
> (like SAX, 
> > where the parser calls the
> > application) or a "pull" interface (where the application calls the 
> > parser).
> 
> As an alternative to "event-driven", I use the term 
> "stream-based" (as opposed to "tree-based".) Both SAX and 
> .NET's XmlReader are "stream-based" but only SAX is "event-driven".
> 
> Jason
> 
> 
> 
> -----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org 
> <http://www.xml.org>, an initiative of OASIS 
<http://www.oasis-open.org>

The list archives are at http://lists.xml.org/archives/xml-dev/

To subscribe or unsubscribe from this list use the subscription
manager: <http://lists.xml.org/ob/adm.pl>




 

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

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