Ignore namespaces when filling in an XMLAnnotation's Value (rebased onto dev_5_0)



This is the same as gh-981 but rebased onto dev_5_0.

----

This prevents the xmlns on Value from being set to an empty string.

See gh-980 and issues reported while testing gh-881.

/cc @qidane