Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Explicitly assign xsd:string as literal default datatype
This has a few advantages: * Makes rdflib.js comply with the rdfjs task force definition (http://rdf.js.org/#literal-interface) * Makes behaviour consistent with the new `Term.literalByValue` implementation * Downstream can use switch without additional undefined and null checking We now only have one instance of xsd:string, so the overhead is only a reference rather than an entire object for each literal.
- Loading branch information