Open jeswr opened 1 year ago
In this line https://github.com/rdfjs/N3.js/blob/520054a9fb45ef48b5b58851449942493c57dace/src/N3Parser.js#L20-L21 with a input format option of text/n3-star the format constant becomes star and for text/n3* the format constant becomes the empty string.
text/n3-star
format
star
text/n3*
This means that we cannot currently rdf-star mode for parsing and specify the content type. In particular this means that there is no way of parsing "n3-star" without manually overriding _supportsRDFStar or _isN3 after construction.
_supportsRDFStar
_isN3
In this line https://github.com/rdfjs/N3.js/blob/520054a9fb45ef48b5b58851449942493c57dace/src/N3Parser.js#L20-L21 with a input format option of
text/n3-star
theformat
constant becomesstar
and fortext/n3*
the format constant becomes the empty string.This means that we cannot currently rdf-star mode for parsing and specify the content type. In particular this means that there is no way of parsing "n3-star" without manually overriding
_supportsRDFStar
or_isN3
after construction.