[XML-SIG] Py-ish PySax Suggestion #2

uche.ogbuji@fourthought.com uche.ogbuji@fourthought.com
Tue, 27 Apr 1999 07:35:42 -0600

Paul Prescod:
> > I don't have a big problem with this, but I'll bet it gives fits to those
> > about these parts who are very concerned with every last bit of run-time speed.
> For better or worse I think those people have already abandoned SAX.
> Actually, the proposal doesn't slow anything down: if you need the speed
> of a single startElement method, you just override it and go. Existing SAX
> clients should be exactly as fast as they are today.
> > And indeed, since this is so easily achieved under the current PySAX, is there
> > really a need to enforce the meta-programming?
> It isn't so much enforcing it as making it accessible and "standard." It
> can help usability to make common idioms a part of the library or even
> language.

All true.  And given that, I do think it's a useful conventional idiom for 
many SAX apps, excluding DOM building, of course.

Uche Ogbuji
FourThought LLC, IT Consultants
uche.ogbuji@fourthought.com	(970)481-0805
Software engineering, project management, Intranets and Extranets
http://FourThought.com		http://OpenTechnology.org