Oxygen XML Editor
 
[XML-DEV Mailing List Archive Home] [By Thread] [By Date]

Re: [xml-dev] Inversion of control (was: DOM's javascript roots (was Re: [xml-dev] Have JDOM / XOM / etc. failed?))




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 :-)
  

 
© 2002-2008 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy
This website was created & generated with <oXygen/> XML Editor
Keywords
xml