xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas B. Passin" <tpas...@mitretek.org>
Subject Re: Microsoft XML stuff
Date Thu, 13 Jul 2000 17:28:10 GMT
There were several threads on pull parsers on the python xml-sig list a
few months back.  Someone (sorry, I forget who) showed how to wrap a
push parser to get it to act like a pull parser.  Several folks took
that ball and ran with it.

Tom Passin

-----Original Message-----
From: Henning von Bargen <H.vonBargen@Triestram-Partner.de>
To: general@xml.apache.org <general@xml.apache.org>
Date: Thursday, July 13, 2000 2:57 AM
Subject: AW: Microsoft XML stuff


I like the idea.
A pulling parser should be pretty fast when extracting some part of a
large
(valid) XML doc,
because then it only has to count "<" and ">", basically.
Henning

> -----Urspr√ľngliche Nachricht-----
> Von: Ted Leung [SMTP:twleung@sauria.com]
> Gesendet am: Donnerstag, 13. Juli 2000 06:46
> An: general@xml.apache.org
> Cc: harmony2@swbell.net
> Betreff: Re: Microsoft XML stuff
>
> 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
> >
> >
> >
>
>
> ---------------------------------------------------------------------
> 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