Additionally to the solution with no spaces in the keyTimes attribute make sure that keySplines doesn't end with semicolon (;)
keyTimes
keySplines
;