
Originally Posted by
tbscope
Not always true! Check encodings!
I know that - it is wrote in simplification 
A protocol of XMPP/Jabber looks like that:
<message from="someone@jabber.org" to="someone2@jabber.org">
<body>
Content - message from user to user.
</body>
</message>
<message from="someone@jabber.org" to="someone2@jabber.org">
<body>
Content - message from user to user.
</body>
</message>
To copy to clipboard, switch view to plain text mode
It looks OK, but what when user writes some of XML code...
<message from="someone@jabber.org" to="someone2@jabber.org">
<body>
Content - message from user to user. [and a lot of strings, and now message have got 1500 bytes]
</body> <--- user sends text, and he wrote to his friend a XML code like that
</message>
</body>
</message>
<message from="someone@jabber.org" to="someone2@jabber.org">
<body>
Content - message from user to user. [and a lot of strings, and now message have got 1500 bytes]
</body> <--- user sends text, and he wrote to his friend a XML code like that
</message>
</body>
</message>
To copy to clipboard, switch view to plain text mode
Understand what I mean?
Bookmarks