From a9a6e85aff99193058096e845b5f16bef8bfbc82 Mon Sep 17 00:00:00 2001 From: Ben Webb Date: Wed, 4 Feb 2015 18:15:37 +0000 Subject: [PATCH] [#8] Remove obsoletion messages from FileFormat list --- convert.py | 2 +- xml/FileFormat.xml | 30 +++++++++++++++--------------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/convert.py b/convert.py index 3616fe5e..bdfd219d 100644 --- a/convert.py +++ b/convert.py @@ -40,7 +40,7 @@ def indent(elem, level=0, shift=2): codelist_item = ET.Element('codelist-item') code = ET.Element('code') - code.text = registry_id + '/' + record.find('{http://www.iana.org/assignments}name').text + code.text = registry_id + '/' + record.find('{http://www.iana.org/assignments}name').text.split(' ')[0] codelist_item.append(code) category = ET.Element('category') diff --git a/xml/FileFormat.xml b/xml/FileFormat.xml index 416c61c4..cdc18755 100644 --- a/xml/FileFormat.xml +++ b/xml/FileFormat.xml @@ -1074,7 +1074,7 @@ application - application/smil - OBSOLETED in favor of application/smil+xml + application/smil application @@ -1370,7 +1370,7 @@ application - application/vnd.arastra.swi - OBSOLETED in favor of application/vnd.aristanetworks.swi + application/vnd.arastra.swi application @@ -2042,7 +2042,7 @@ application - application/vnd.geocube+xml - OBSOLETED by request + application/vnd.geocube+xml application @@ -2078,7 +2078,7 @@ application - application/vnd.gmx - DEPRECATED + application/vnd.gmx application @@ -2290,7 +2290,7 @@ application - application/vnd.informix-visionary - OBSOLETED in favor of application/vnd.visionary + application/vnd.informix-visionary application @@ -2930,7 +2930,7 @@ application - application/vnd.nokia.n-gage.symbian.install - OBSOLETE; no replacement given + application/vnd.nokia.n-gage.symbian.install application @@ -4434,7 +4434,7 @@ application - application/xhtml-voice+xml - OBSOLETE; no replacement given + application/xhtml-voice+xml application @@ -5022,7 +5022,7 @@ audio - audio/vnd.qcelp - DEPRECATED in favor of audio/qcelp + audio/vnd.qcelp audio @@ -5286,7 +5286,7 @@ message - message/news - OBSOLETED by RFC5537 + message/news message @@ -5314,7 +5314,7 @@ message - message/vnd.si.simp - OBSOLETED by request + message/vnd.si.simp message @@ -5486,7 +5486,7 @@ text - text/directory - DEPRECATED by RFC6350 + text/directory text @@ -5494,7 +5494,7 @@ text - text/ecmascript - OBSOLETED in favor of application/ecmascript + text/ecmascript text @@ -5522,7 +5522,7 @@ text - text/javascript - OBSOLETED in favor of application/javascript + text/javascript text @@ -5530,7 +5530,7 @@ text - text/markdown (TEMPORARY - registered 2014-11-11, expires 2015-11-11) + text/markdown text @@ -5706,7 +5706,7 @@ text - text/vnd.si.uricatalogue - OBSOLETED by request + text/vnd.si.uricatalogue text