SAX2: DOM support

David Megginson david at megginson.com
Tue Jan 18 14:57:06 GMT 2000


Miles Sabin writes:

 > > 2. Push
 > > [snip: DOMHandler]
 > > This saves a lot of unnecessary hashtable lookups.
 > 
 > Could you elaborate on that a bit?

Well, they could be equality tests as well.  Basically, every time you 
call getProperty, the XMLReader is going to have to interpret the
property name before deciding what to send back to you.


All the best,


David

-- 
David Megginson                 david at megginson.com
           http://www.megginson.com/

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ or CD-ROM/ISBN 981-02-3594-1
Please note: New list subscriptions now closed in preparation for transfer to OASIS.





More information about the Xml-dev mailing list