I have made a XML file:
From Eclipse, right click the xml file and choose Open With -> XML Editor. In this, choose the Design tab. You may notice there is a mysterious child element after your 's which is just empty. Right click on it and choose remove.
Just spent an hour or so trying to fix this problem and this turned out to be the fix, probably some invisible characters that cause parsing to fail. Anyway, hope that helps anyone else having this problem!