this code was tested against v0.4-1.
It causing a backtrace on current CVS version so investigating it now.
--Oh sorry! I simply forgot that I must reply on every bugreport before closing it. Doing it now.
==========================
[EMAIL PROTECTED]:~/tmp/jabberpy0.4-1$ cat 12120653.py
#!/usr/bin/python
import jabber
message=jabber.Message(to='[EMAIL PROTECTED]',body="i'm an apostrophe user")
print `message.getBody()`
print `message.asNode()._xmlnode2str()`
[EMAIL PROTECTED]:~/tmp/jabberpy0.4-1$ ./12120653.py
"i'm an apostrophe user"
"<message to='[EMAIL PROTECTED]'><body>i'm an apostrophe user</body></message>"
[EMAIL PROTECTED]:~/tmp/jabberpy0.4-1$
===========================
Respectively
Alexey Nezhdanov
