This fixes entering data when cataloguing so that non-XML characters are removed. Non-XML characters (such as ESC) were causing adding and editing data to fail, with errors similar to:
Error: invalid data, cannot decode metadata object
parser error : PCDATA invalid Char value 27
|