We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Originally raised by @zozlak here: https://github.com/sweetyrdf/easyrdf/issues/17
$g = new EasyRdf\Graph(); $r = $g->resource('http://sample/resource'); $r->addLiteral('dc:title', 'sample title'); $r->addLiteral('http://unknown.namespace/property', 'sample value'); print_r($r->properties()); print_r($r->propertyUris());
gives
Array( [0] => dc:title ) Array( [0] => http://purl.org/dc/terms/title [1] => http://unknown.namespace/property )
The unexpected result is caused by https://github.com/easyrdf/easyrdf/blob/master/lib/Graph.php#L1247-L1250 which silently skips all properties within namespaces unknown to EasyRdf\RdfNamespace.
EasyRdf\RdfNamespace
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Originally raised by @zozlak here:
https://github.com/sweetyrdf/easyrdf/issues/17
gives
The unexpected result is caused by https://github.com/easyrdf/easyrdf/blob/master/lib/Graph.php#L1247-L1250 which silently skips all properties within namespaces unknown to
EasyRdf\RdfNamespace
.The text was updated successfully, but these errors were encountered: