[Adium-devl] Problem with LMX for messages containing >

Zachary West zacwest at gmail.com
Fri Mar 20 00:52:36 UTC 2009


On Thu, Mar 19, 2009 at 20:48, Peter Hosey <boredzo at adiumx.com> wrote:
> This is a bug in our XML generator. Valid XML though it is, LMX has no way
> of knowing whether that > is the end of a tag or just a literal character.
> (I *could* look for whitespace, but what about “Edit>Replace”?)
>
> Our XML generator is supposed to escape those, and backward parsing is one
> major reason why.

It seems NSXMLNode textWithStringValue's encoding isn't the same logic
as our -stringByEscapingForXMLWithEntities, and instead will only
replace what it wants.

I do not really know how to fix this myself.

Zac




More information about the devel mailing list