[Adium-devl] Weekly status updates
Graham Booker
gbooker at cod3r.com
Sat Sep 2 05:00:05 UTC 2006
On Sep 1, 2006, at 11:36 PM, Colin Barrett wrote:
>
> I wouldn't mind looking at this: http://trac.adiumx.com/ticket/5093 -
> Adium spits the dummy (console error message) for this xml chatlog
> file and refuses to display it in the chat transcript viewer
>
> I'll get in touch with gbooker, see if he has any ideas as well.
>
<snip>
>
> -Colin
I suspect this is because a null character is illegal in the xml file
format. I had looked at this ticket a while back, but didn't really
have time then. The parser returned false, which means that it
couldn't parse the file (likely because it is not valid XML). I
remember running into this in fire because some MSN plugin would send
0x04 characters.
If I am reading my own code correctly, it seems that the characters
0x0-0x8, and 0xb-0xc, 0xe-0x1f, 0xd800-0xdfff, 0xfffe, and 0xffff are
illegal in XML. Now 0xa is a \n, and 0xd is \r, so those are already
escaped. In fire, we replaced the illegal characters with a 0xff1f
(big question mark).
See http://www.w3.org/TR/2004/REC-xml-20040204/#charsets
- Graham
More information about the devel
mailing list