Skip to content

Standardise a baseIRI parameter on import #18

@tpluscode

Description

@tpluscode

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions