Properly escaped several namespace characters used in strings within the Annotations class.