Fix detection of XML files from MIME type (#2496)

Co-authored-by: Bűn Tamás <h751634@stud.u-szeged.hu>

Closes #2420
This commit is contained in:
Bűn Tamás 2020-04-04 10:16:45 +02:00 committed by GitHub
parent 05b6a7b2ae
commit a718b9ab49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -274,6 +274,8 @@ function registerImporting() {
IM.registerMimeType("text/n3", "text/rdf/n3");
IM.registerMimeType("text/rdf+n3", "text/rdf/n3");
IM.registerMimeType("text/turtle", "text/rdf/ttl");
IM.registerMimeType("application/xml", "text/xml");
IM.registerMimeType("text/xml", "text/xml");
IM.registerMimeType("application/rdf+xml", "text/rdf/xml");
IM.registerMimeType("application/ld+json", "text/rdf/ld+json");