Skip to content

Support fallback to Structured Syntax Name Suffixes in MIME types #2805

Description

@tfmorris

We should support the use of Structured Syntax Name Suffixes as a fallback for importers.

Currently we support rdf+xml and know that it's more specific than the generic text/xml so we should try the RDF importer before the XML importer, but if we encounter an unknown type with a syntax suffix, we don't prioritize the appropriate importer.

The idea would be that if we were to encounter application/3gpdash-qoe-report+xml or application/activity+json (to pick the first ones on the list), we would suggest the XML and JSON importers, respectively, as the first fallback options.

This is something we could implement directly in the importer framework, so perhaps it's orthogonal to the idea that @wetneb had for #2598.

Originally posted by @tfmorris in #2598 (comment)

Activity

wetneb commented on Jun 24, 2020

@wetneb
Member

It makes sense to exploit the structure of MIME types as much as we can.

added a commit that references this issue on Jun 24, 2020
c8abfc3
added this to the 3.5 milestone on Jun 25, 2020
added a commit that references this issue on Jun 25, 2020
4b146ac
added a commit that references this issue on Jun 30, 2020
637a591
added a commit that references this issue on Jun 30, 2020
b64cbfe
self-assigned this
on Jul 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions