Re: [xml] html push parser and libiconv

On Fri, Sep 26, 2003 at 03:38:03AM -0400, Chris Anderson wrote:
I'm currently using an alternate entry point for
htmlCreatePushParserCtxt() that takes a string encoding name instead of
an xmlCharEncoding enumerator.  This is useful when a weird document
character encoding is returned in the HTTP headers that libiconv knows
about.  I attached my patch files in case there is interest in adding an
API entry point for this.  Patching libxml2-2.5.11 works ok.

  Okay, but I expect to provide the same kind of htmlRead... APIs
as provided for the XML parser for the HTML parser and those include
encoding as a const char * . As discussed a few weeks ago on the list
I'm trying to get rid as much as possible of the xmlCharEncoding type
which is too limited and for no good reason.
  The patch might help those stuck with 2.5.11, thanks but from 2.6.0
I expect a better alternative API.


Daniel Veillard      | Red Hat Network
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

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