[Standards] Proposed XMPP Extension: Character counting in message bodies
dave at cridland.net
Fri Dec 20 12:52:59 UTC 2019
On Fri, 20 Dec 2019 at 12:15, Andrew Nenakhov <
andrew.nenakhov at redsolution.com> wrote:
> You have sent a string '>>>>>', which was escaped to
> '>>>>>' before sending to the server.
Well, maybe. XML doesn't require you to escape '>' in text, only in
Presumably, in order to calculate the referencing, one would need to know
precisely how this string was to be serialized? Does that mean it needs
to... what? Hardcode that knowledge based on the library used? Seems
astonishingly fragile, especially if you're working in an environment where
the XML serialization is provided by the platform. Like a web browser.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Standards