json_ld: JSON-LD toRdf test suite and various fixes

This commit is contained in:
Marcel Otto 2017-04-14 13:38:38 +02:00
parent 87a3125632
commit 4e00396a64

View file

@ -47,7 +47,6 @@ defmodule RDF do
# TODO: Find a better way! Maybe https://github.com/marcelog/ex_rfc3986 ?
case some_uri do
%URI{scheme: nil} -> false
%URI{host: nil} -> false
_uri -> true
end
end