core: URIs don't require a path
This commit is contained in:
parent
a5fc5aa607
commit
1978749c18
1 changed files with 0 additions and 1 deletions
|
@ -4,7 +4,6 @@ defmodule RDF.Serialization.ParseHelper do
|
|||
def to_uri({:iriref, line, value}) do
|
||||
case URI.parse(value) do
|
||||
%URI{scheme: nil} -> {:error, line, "#{value} is not a valid URI"}
|
||||
%URI{path: nil} -> {:error, line, "#{value} is not a valid URI"}
|
||||
parsed_uri -> {:ok, parsed_uri}
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue