Per issue #160 and avoid using deprecated read API per #156

is there a reason why you are building an intermediate String?

Also, I think the whole file should be made a test for RDF/XML, there is definitely some value as you are fixing a bug.