From fa567345de49d5f8f14f6f613b207b8a3f5d8ce5 Mon Sep 17 00:00:00 2001 From: Andreas Stöckel Date: Sun, 15 Feb 2015 22:57:25 +0100 Subject: Using osxml-extension in osxml parser --- src/core/Registry.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/core') diff --git a/src/core/Registry.cpp b/src/core/Registry.cpp index 4aad7db..2bb6a98 100644 --- a/src/core/Registry.cpp +++ b/src/core/Registry.cpp @@ -76,11 +76,8 @@ void Registry::registerExtension(const std::string &extension, void Registry::registerDefaultExtensions() { - registerExtension("oxd", "text/vnd.ousia.oxd"); - registerExtension("oxm", "text/vnd.ousia.oxm"); - registerExtension("opd", "text/vnd.ousia.opd"); - registerExtension("oss", "text/vnd.ousia.oss"); - registerExtension("js", "application/javascript"); + registerExtension("osml", "text/vnd.ousia.osml"); + registerExtension("osxml", "text/vnd.ousia.osml+xml"); } std::string Registry::getMimetypeForExtension( -- cgit v1.2.3