Skip to content

Commit 9713b1c

Browse files
committed
Fix bug caused by URI not being passed to RDF parser.
1 parent 03c7005 commit 9713b1c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Server.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -825,7 +825,7 @@ private function parseLinkedMetadata(string $path)
825825
$graph = $this->getGraph();
826826

827827
try {
828-
$graph->parse($describedByContents);
828+
$graph->parse($describedByContents, null, '/'.$describedByPath);
829829
} catch (EasyRdf_Exception $exception) {
830830
throw Exception::create(self::ERROR_CAN_NOT_PARSE_METADATA, [$path]);
831831
}

0 commit comments

Comments
 (0)