lib/rdf/rdfa/reader.rb in rdf-rdfa-1.1.4.1 vs lib/rdf/rdfa/reader.rb in rdf-rdfa-1.1.5

- old
+ new

@@ -384,10 +384,10 @@ add_debug(el, "=> no reader found") end end # Look for Embedded Turtle and RDF/XML - unless @root.xpath("//rdf:RDF", "xmlns:rdf" => "http://www.w3.org/1999/02/22-rdf-syntax-ns#").empty? + unless @root.xpath("//rdf:RDF", "rdf" => "http://www.w3.org/1999/02/22-rdf-syntax-ns#").empty? extract_script(@root, @doc, "application/rdf+xml", @options) do |statement| @repository << statement end end