Improve the error message on empty data to parser

Here's a patch that should improve the error message when trying to parse an empty or undef string with the RDF/XML parser.

Kjetil