Fix error when parsing empty SVG document.

And don't forget to call the callback.