Added a check for leading or trailing spaces in messageInfo.xmlImport