Re: libxml2 in gnome 1.4



On Wed, 21 Mar 2001, Daniel Veillard wrote:

> On Wed, Mar 21, 2001 at 03:56:05AM -0500, Daniel Veillard wrote:
> > > On Fri, Mar 16, 2001 at 02:57:30PM -0500, Miguel de Icaza wrote:
> > > >    I know it is too late for including libxml2 in gnome 1.4, but maybe
> > > > the distributors could fix this problem.
> >   This is just an heads-up but basically the best way to solve the
> > problen is unfortunately to fix libxml1 parser to at least deal correctly
> > with UTF8 and ISO-Latin-1 encodings.
> >   I have spent yesterday and will probably spend some time today pluging
> > 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.
> >   Once it passes my regression tests I will commit this to gnome-xml
> > libxml 1 branch head (tag LIB_XML_1_BRANCH), and after checking that
> 
>   Done, I tested commited the parser upgrade. It is in the 
> gnome-xml LIB_XML_1_BRANCH head.
> 
>   This version of the XML parser will accept UTF8 and ISO-Latin-1
> documents only, it will generate only UTF8 output.

What will happen with programs that try to output 8-bit characters in an
XML file?  Will they get mangled in a UTF-8 conversion?  I know that using
8 bit characters without setting the character set of an XML document is
not quite valid XML, but libxml1 handles it.

I am just wondering, because there were some problems with the initial
patches for dia that added libxml2 support because they didn't handle
character sets (from memory, it was treating it like utf-8 and dropping
the second highest bit on some characters).

James.

-- 
Email: james daa com au
WWW:   http://www.daa.com.au/~james/



_______________________________________________
gnome-hackers mailing list
gnome-hackers gnome org
http://mail.gnome.org/mailman/listinfo/gnome-hackers




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