Open
Description
The project README.md references a strict: boolean
option that influences whether the SAX parser runs in strict mode.
This property is not included in the typescript typing though, and the following snippet causes a typescript error:
new RdfXmlParser({
dataFactory: require('@rdfjs/data-model'),
baseIRI: 'http://example.org/',
defaultGraph: namedNode('http://example.org/graph'),
strict: true,
trackPosition: true,
allowDuplicateRdfIds: true,
validateUri: true,
});
Not sure whether this is a documentation issue or a typing issue though.