Skip to content

Reading, writing and using RDF in Node.js

Jim Amsden edited this page Feb 21, 2018 · 2 revisions

Use rdflib.js.

rdflib did not handle parseType=‘XMLLiteral’ properly. It currently sets the property to the DOM for the whole property (not just its content). It should set the property to the XML text in the property content, parsed and normalized (attributes sorted).

See: RDF/XML Literals not being parsed properly, this issue appears to be still opened despite multiple pull requests with fixes I contributed. This change will need to be done in your local fork.

Clone this wiki locally