‘Line Too Long’ Facebook Feed Problem

If you have the following problem in Facebook Product Feed:

Line too long
(1 product rejected)
This feed contains a line that is longer than our current limit.

Your XML file is probably 1 line which you might have removed all tabs, spaces and new lines to save up some space. Adding new lines for each entry may solve the problem.