xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Hodges <harmo...@swbell.net>
Subject Re: Microsoft XML stuff
Date Thu, 13 Jul 2000 07:15:49 GMT
Very cool.  That would probably solve the problem I had with SAX.  I wanted
to use it for persisting objects.  Each object would know its own schema and
the objects it owned.  It would cascade the task of reading or writing.  The
SAX implementation I was using pre-buffered big chunks of the input, so I
couldn't make it work.  When a child went to parse it's input, the input
stream was past the start of the child.

----- Original Message -----
From: "Henning von Bargen" <H.vonBargen@Triestram-Partner.de>
To: <general@xml.apache.org>
Sent: Thursday, July 13, 2000 1: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