Please use `String.trim` to trim leading and trailing whitespace, since there is no guarantee in the TMX format that this whitespace exists or how much of it is there.