Closed likelion closed 5 years ago
When serializing xsd:dateTime property to RDF/XML an exception is thrown:
xsd:dateTime
Reason = exception(error(save_attribute_value(2019-08-27T17:23:02.728438-02:00),_9104)) ERROR: Unknown error term: save_attribute_value("2019-08-27T17:23:02.728438-02:00") ...
This is due to the fact that save_attribute_value/3 accepts only atom as a string value type. However, rdf_db:rdf returns such literals as type(xsd:dateTime, "value") where "value" is a string.
save_attribute_value/3
rdf_db:rdf
type(xsd:dateTime, "value")
"value"
Thanks. Merged after white space fix and adjustment of commit message. Commit messages starting "[A_Z]+:" appear in the release notes.
When serializing
xsd:dateTime
property to RDF/XML an exception is thrown:This is due to the fact that
save_attribute_value/3
accepts only atom as a string value type. However,rdf_db:rdf
returns such literals astype(xsd:dateTime, "value")
where"value"
is a string.