xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Leung" <twle...@sauria.com>
Subject Re: Microsoft XML stuff
Date Thu, 13 Jul 2000 04:46:09 GMT
In most parsers, the parser drives the application -- you transfer control
to the parser, it does its thing and returns control to you.  This is true
even for the callback based API's like SAX.  The parser wants to parse
the entire document.

A "pull" parser reverses this and gives the application control of parsing.
The application says parse the next semantic unit and then give it to me.

It's the difference between handling I/O via interrupts or polling.

Ted

----- Original Message -----
From: "Eric Hodges" <harmony2@swbell.net>
To: <general@xml.apache.org>; "Ted Leung" <twleung@sauria.com>
Sent: Wednesday, July 12, 2000 8:42 PM
Subject: Re: Microsoft XML stuff


> I know what "pull my daisy" means, but what does "pull model parser" mean?
>
> ----- Original Message -----
> From: "Ted Leung" <twleung@sauria.com>
> To: <general@xml.apache.org>
> Sent: Wednesday, July 12, 2000 7:08 PM
> Subject: Re: Microsoft XML stuff
>
>
> >
> > ----- Original Message -----
> > From: "Scott Boag/CAM/Lotus" <Scott_Boag@lotus.com>
> > To: <general@xml.apache.org>
> > Sent: Wednesday, July 12, 2000 12:46 PM
> > Subject: Microsoft XML stuff
> >
> >
> > >
> > > BTW, as I sit here in the Microsoft Developers Conference, they are
> > talking
> > > about a "pull" model parser.   Something to think about.  They call
this
> > an
> > > XmlReader.
> > >
> >
> > It is a well kept (unfortunately) secret that the oft criticized Xerces
> > internals are
> > set up to be used as a pull model parser.  Unfortunately, the user level
> > class that
> > would expose this has not been written yet.
> >
> > Ted
> >
> >
> > ---------------------------------------------------------------------
> > In case of troubles, e-mail:     webmaster@xml.apache.org
> > To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
> > For additional commands, e-mail: general-help@xml.apache.org
> >
>
>
> ---------------------------------------------------------------------
> In case of troubles, e-mail:     webmaster@xml.apache.org
> To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
> For additional commands, e-mail: general-help@xml.apache.org
>
>
>


Mime
View raw message