In reader specs, allow reader with :validate option to either return true for #validate? or raise an RDF::ReaderError, in case an empty document is, in fact, invalid.
In reader specs, allow reader with :validate option to either return true for #validate? or raise an RDF::ReaderError, in case an empty document is, in fact, invalid.

ruby-rdf/rdf-spec