Fixes #5628: Handle deprecation information from metadata

deprecation format:

\<DEPRECATED>message\</DEPRECATED>
"c'est la cote de boeuf"