Re: [xml] Re: A small bug in Dia v0.81

Date view Thread view Subject view Author view

From: Daniel Veillard (Daniel.Veillard@w3.org)
Date: Thu Nov 18 1999 - 17:19:17 EST


On Thu, Nov 18, 1999 at 08:48:09PM +0100, Alexander Larsson wrote:
>
> On Thu, 18 Nov 1999, Antti Salonen wrote:
>
> >
> > I have created two classes in an UML diagram and an association between
> > them. The association is called "käyttää", Finnish for "uses". When I save
> > the diagram in a file and reload it, the name is truncated to "käyttä"
> > (the last 'ä' is missing). I don't have the time to do more extensive
> > testing right now, but the problem didn't seem to occur without umlauts.
>
> This is exceptionally strange. The xml looks like this:
> <dia:string>#alex&#228;&#228;a#</dia:string>
>
> And when i call xmlNodeListGetString() on the node it returns "#alexäa#".
> It seems libxml removes the repeating ä's (a umlaut).
>
> Anyone have any idea about this?

  Looks suspiciously like the libxml bug #2784 I fixed some time ago:
    http://bugs.gnome.org/db/27/2784.html
    
 If you're still using libxml-1.7.3, try to upgrade to libxml-1.7.4
(or the latest from CVS) and check if this fix things, if not I will
chase and fix the bug :-)

Daniel

-- 
Daniel.Veillard@w3.org | W3C, INRIA Rhone-Alpes  | Today's Bookmarks :
Tel : +33 476 615 257  | 655, avenue de l'Europe | Linux, WWW, rpmfind,
Fax : +33 476 615 207  | 38330 Montbonnot FRANCE | rpm2html, XML,
http://www.w3.org/People/W3Cpeople.html#Veillard | badminton, and Kaffe.
----
Message from the list xml@rufus.w3.org
Archived at : http://rufus.w3.org/veillard/XML/messages
to unsubscribe: echo "unsubscribe xml" | mail  majordomo@rufus.w3.org


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed Aug 02 2000 - 12:29:52 EDT