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 ]

In article <200209191501.LAA27747@mail2.reutershealth.com> you write:

>> Granted, the event model does require you to turn your head around
>> compared to ordinary programming, but that's easily done, and once
>> done event-based programming is very easy.

>Again, I would like to see anyone write a recursive descent compiler (or
>similar analyzer) using a lexer level that pushes events.  The natural
>and readable becomes a vast wasteland of parser tables and gibberish.

It's also much easier to deal with multiple input streams with a pull
parser.  How do you write a simple diff-like program with SAX?

-- Richard




 

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

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