As discussed in rdfjs/rdfxml-streaming-parser.js#41, @rubensworks proposed to add a parameter to the import method so that it's a standard feature of all parsers to accept a baseIRI
const parser = new MyParser()
parser.import(stream, { baseIRI: 'http://example.com' })
This is already implemented by a most and would nicely complement the analogous param on the constructor