[media-types] Macintosh file type code

"Chris Lilley" <chris@w3.org> Thu, 08 December 2016 17:35 UTC

Return-Path: <chris@w3.org>
X-Original-To: media-types@ietfa.amsl.com
Delivered-To: media-types@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CF926129AA2 for <media-types@ietfa.amsl.com>; Thu, 8 Dec 2016 09:35:10 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.796
X-Spam-Level:
X-Spam-Status: No, score=-4.796 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RP_MATCHES_RCVD=-2.896, SPF_HELO_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AW-N_XkehnWe for <media-types@ietfa.amsl.com>; Thu, 8 Dec 2016 09:35:08 -0800 (PST)
Received: from raoul.w3.org (raoul.w3.org [IPv6:2001:470:8b2d:804:52:12:128:0]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 158CD129A2E for <media-types@ietf.org>; Thu, 8 Dec 2016 09:35:07 -0800 (PST)
Received: from 30-9-49.wireless.csail.mit.edu ([128.30.9.49]) by raoul.w3.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from <chris@w3.org>) id 1cF2b4-0004d7-Ax for media-types@ietf.org; Thu, 08 Dec 2016 17:35:06 +0000
Content-Type: multipart/alternative; boundary="----=_NextPart_63547033.204529747099"
MIME-Version: 1.0
Date: Thu, 08 Dec 2016 12:34:59 -0500
Message-ID: <e25a4143-7999-4ed0-9947-776033636f15@getmailbird.com>
From: Chris Lilley <chris@w3.org>
To: media-types@ietf.org
User-Agent: Mailbird/2.3.36.0
X-Mailbird-ID: e25a4143-7999-4ed0-9947-776033636f15@getmailbird.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/media-types/Y3ZKEBdNCMgdxsyXBMO2fyvKQIc>
Subject: [media-types] Macintosh file type code
X-BeenThere: media-types@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: "IANA mailing list for reviewing Media Type \(MIME Type, Content Type\) registration requests." <media-types.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/media-types>, <mailto:media-types-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/media-types/>
List-Post: <mailto:media-types@ietf.org>
List-Help: <mailto:media-types-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/media-types>, <mailto:media-types-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 08 Dec 2016 17:35:11 -0000

It is not clear to me what, in a Media Type registration, the "Macintosh file type code" is for, or what the allowed range of tokens is, or whether anyone checks this information or uses it in any way.

It seems that this code is for use on Mac OS 9 or earlier, i.e. pre-OS X. 

Apple seems to have replaced this with "Uniform Type Identifiers".
https://developer.apple.com/library/content/documentation/FileManagement/Conceptual/understanding_utis/understand_utis_intro/understand_utis_intro.html
and says that there are various legacy sources of it 
- the four character codes (Macintosh file type code)
- filename extensions
- "MIME types" (sic)
and that Uniform Type Identifiers "replaces all these incompatible tagging methods with the string ..."

There seems to be a registry of System-Declared UTIs
https://developer.apple.com/library/content/documentation/Miscellaneous/Reference/UTIRef/Articles/System-DeclaredUniformTypeIdentifiers.html#//apple_ref/doc/uid/TP40009259-SW1


RFC6833, section 4.12 Additional Information has a reference to MacOSFileTypes

[MacOSFileTypes] Apple Computer, Inc., "Mac OS: File Type and Creator Codes, and File Formats", Apple Knowledge Base Article 55381, June 1993, <http://www.info.apple.com/kbnum/n55381 [http://www.info.apple.com/kbnum/n55381]>.

and the link has rotted.

On to my actual questions:

1) Is there continuing value in providing this data in a Meda Type registration, given that it does not seem to be used by current Apple products and has been replaced, as far as Apple is concerned, by UTIs?

I see some registrations say 'none' as the value. It seems better to me to just remove this field from the template.

2) Is there value in adding the Apple UTI (which is at least documented, and in current use) to the registration templates? 

My reason for asking is draft-ietf-justfont-toplevel
https://datatracker.ietf.org/doc/draft-ietf-justfont-toplevel/

which will define a new top-level Media Type for fonts. I am very tempted to just remove the "Macintosh file type code" from the registration template, and could go either way on replacing it with an "Apple Uniform Type Identifier" field - opinions welcome.

Raisng on this list since it affects all other registration templates as well.

--
Chris Lilley
@svgeesus
Technical Director @ W3C
W3C Strategy Team, Core Web Design
W3C Architecture & Technology Team, Core Web & Media