Bug fix. Only a small set of characters should be encoded in XML.