[Home] [By Thread] [By Date] [Recent Entries]



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

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member