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] Inversion of control (was: DOM's javascript roots (was Re:

[ Lists Home | Date Index | Thread Index ]

On Apr 25, 2006, at 5:06 PM, Michael Kay wrote:

>> That's pretty hard-core. ;-)
>> (due to SAX imposed "involuntary
>> inversion-of-control")
> Perhaps it's voluntary?

Absolutely voluntary, and for the reason you mentioned. It's very  
common for me to have 3 or 4 'handlers' consuming SAX events, parsing  
the XML into whatever internal data structures I need.

FWIW. I usually write my own lexers/parser by hand, rather than using  
yacc/lex too.... better error handling and cleaner code usually :-)


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

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