I've just uploaded a patch for WebKit that provides event-oriented parser for XML called XMLReader that is a variant of the behavior of XMLHttpRequest but, instead of building a whole document DOM, it delivers "XML Events" to an EventListener. The implementation has very low memory consumption characteristics and provides a great deal of flexibility for designing receiving applications that accomplish their XML tasks during the processing of the XML (e.g. data binding).
I am presenting this interface at XML Prague tomorrow (Sunday, March 27th) and I've put the paper up at: http://www.milowski.com/research/xmlreader/ The page is #57145: https://bugs.webkit.org/show_bug.cgi?id=57145 I'm curious about any feedback you all might have. I should have sent this out earlier but I haven't had the time. Even "gut feel" or "immediate reactions" would be interesting. Don't hold back... :) -- --Alex Milowski "The excellence of grammar as a guide is proportional to the paucity of the inflexions, i.e. to the degree of analysis effected by the language considered." Bertrand Russell in a footnote of Principles of Mathematics _______________________________________________ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev