Re: libxml2 in gnome 1.4



On Fri, 23 Mar 2001, Daniel Veillard wrote:

> On Fri, Mar 23, 2001 at 11:36:30AM +0800, James Henstridge wrote:
> > On 22 Mar 2001, Miguel de Icaza wrote:
> > 
> > > 
> > > > GLib 2.0 has functions g_locale_to_utf8() and g_locale_from_utf8(),
> > > > maybe someone can come up with a canonical standalone version of those
> > > > to be cut-and-pasted all over the place to deal with libxml.
> > > 
> > > Can we backport the equivalent functions from XML2 and put them on
> > > XML1?
> > 
> > Just to clarify my previous message, I don't think libxml handling
> > character encodings is bad.  I just question whether adding the support to
> > the 1.x branch at this point is a good idea (especially so close to the
> > gnome 1.4 release).
> 
>   It is clear taht if this breaks too much stuff, and if this stuff
> wasn't inherently broken, then libxml-1.8.12 should not be released before
> we have patches for them. I never said that 1.8.12 should delay 1.4
> nor that I would release it anytime soon in case of troubles.
> 
>   BTW the current version is only in CVS head and in the
> test directory, i don't consider this a release and would feel really
> annoyed if this was pushed as a normal upgrade.

Daniel,

Could you double-check that your change was only in HEAD.  I'm pretty sure
that I observed the gnome-db2html2 and scrollkeeper breakage using the
LIB_XML_1_BRANCH branch.  This branch's ChangeLog has the entry:

> Wed Mar 21 13:17:24 CET 2001 Daniel Veillard <Daniel Veillard imag fr>
>
>  It's hard to estimate how much I hated to do this, but it's done ...
>  The best way to solve the I18N problen is unfortunately to fix
> libxml1 parser to at least deal correctly with UTF8 and ISO-Latin-1
> encodings. I have plugged in the 2.3.5 (or what will be it's not
> released yet) core XML parser in the libxml1 framework. No changes API
> wise. The only changes will be backward binary compatible extensions
> of some of the parser structures and the number of parser states.
>
>        * configure.in: version will be 1.8.12
>        * Makefile.am: added .memdump tests
>        * SAX.c entities.[ch] parser.[ch] tree.c valid.c xml-error.h
>          xmlIO.[ch]: plugged the 2.3.5 libxml2 XML parser in, while
>          preserving binary compatibility
>        * uri.[ch]: the parser code really requires URI manipulation
>          add this from 2.3.5 too
>        * results/* : of course this changed the output of a number of
>          tests
>        * test/dtd12 : this test was actually not wellformed, the new
>          parser pukes at it, fixed ...

which I believe is the patch we are discussing.

Dan





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