Skip to content

Commit

Permalink
Use child nodes of literal DOM instead of itself (linkeddata#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
akoptelov committed Jan 16, 2018
1 parent 1cbea80 commit 8673793
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rdfxmlparser.js
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ var RDFParser = function (store) {
frame.datatype = RDFParser.ns.RDF + 'XMLLiteral' // (this.buildFrame(frame)).addLiteral(dom)
// should work but doesn't
frame = this.buildFrame(frame)
frame.addLiteral(dom)
frame.addLiteral(dom.childNodes)
dig = false
} else if (nv === 'Resource') {
frame = this.buildFrame(frame, frame.element)
Expand Down

0 comments on commit 8673793

Please sign in to comment.