Modified MetaDataHandler class.

Trim whitespace characters when reading from the xml file.