Description
Most C0 control characters are invalid in XML:
http://en.wikipedia.org/wiki/Valid_characters_in_XML
Besides 0x09, 0x0a and 0x0d all other control characters below 0x20 have to be escaped, see attached patch.
Currently model objects containing these characters and being rendered (e.g. via labels) will lead to Ajax response failures.