Smack performs unnecessary escaping in XML text

Description

Smack's Body class is currently overly cautious escaping text within the body element. That is, it uses the XmlEscapeMode.safe, when XmlEscapeMode.forText is sufficent, which does not escape '"'.

This is also true in other places, for example AbstractJsonPacketExtension.

Environment

None
Fixed

Assignee

Florian Schmaus

Reporter

Florian Schmaus

Labels

None

Expected Effort

None

Ignite Forum URL

None

Components

Fix versions

Affects versions

Priority

Major