Arthur S. Alexion on Mon, 10 Dec 2001 04:10:27 +0100


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

Re: [PLUG] xml vs xml2




Jeff Abrahamson wrote:


The following causes a character out of range error:

       /* xmlSetProp(newxml, "last_name", "M_ller"); */
       xmlSetProp(newxml, "last_name", "Muller");

That is, the first line causes an error at runtime, the second does
not. (The difference is whether or not I use an iso-8859-1 encoded
u-umlaut.)

	xmlEncodeEntitiesReentrant : char out of range

As you can see, your umlaut translates as an underscore on my system (PalmOS 3.5). Perhaps the underscore is illegal, and causing the char out of range error. Just a guess.

art
____________________________________.
artAlexion
-------------
arthur@alexion.com
www.alexion.com

______________________________________________________________________
Philadelphia Linux Users Group       -      http://www.phillylinux.org
Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce
General Discussion  -  http://lists.phillylinux.org/mail/listinfo/plug