Truncate the end of the xml annotation.

Synch with Web.