Re: [xml] SAX1 and deprecated functions



On Tue, Mar 29, 2011 at 08:09:50PM -0400, Noam Postavsky wrote:
The SAX1 module is clearly marked as deprecated in the documentation.
However, there are some functions in the parser module such as
xmlParseFile() that are inside #ifdef LIBXML_SAX1_ENABLED. Are these
meant to be deprecated as well?

  No they are here, and will remain, but you're loosing all the recent
work on API and parser optimization by not using the more recent
xmlReadFile()/xmlRead... new entry points. See the bottom of parser.h
"New set of simpler/more flexible APIs",

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel veillard com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]