View RSS Feed

Recent Blogs Posts

  1. Dangers of DOM

    by , 04-27-2012 at 05:13 PM
    At first glance, the DOM API seems to be more feature-rich, and therefore better, than the SAX API. However, DOM has serious efficiency problems that can hurt performance-sensitive applications.

    The current group of XML parsers that support DOM implement the in-memory object model by creating many tiny objects that represent DOM nodes containing either text or other DOM nodes. This sounds natural enough, but has negative performance implications. One of the most expensive operations ...
    Categories
    DOM