Re: [apps-discuss] New I-D: text/markdown Media Type - draft-seantek-text-markdown-media-type-00

James M Snell <jasnell@gmail.com> Wed, 09 July 2014 22:01 UTC

Return-Path: <jasnell@gmail.com>
X-Original-To: apps-discuss@ietfa.amsl.com
Delivered-To: apps-discuss@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 006081A008D for <apps-discuss@ietfa.amsl.com>; Wed, 9 Jul 2014 15:01:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=ham
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 nTrY6dFAYbmu for <apps-discuss@ietfa.amsl.com>; Wed, 9 Jul 2014 15:01:37 -0700 (PDT)
Received: from mail-ie0-x22e.google.com (mail-ie0-x22e.google.com [IPv6:2607:f8b0:4001:c03::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 198121A0087 for <apps-discuss@ietf.org>; Wed, 9 Jul 2014 15:01:37 -0700 (PDT)
Received: by mail-ie0-f174.google.com with SMTP id rd18so6578433iec.5 for <apps-discuss@ietf.org>; Wed, 09 Jul 2014 15:01:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=rWUayf/lP4SxDqZGA9avuJ8BGQ9TbbFsi5rAHAchkc8=; b=qkCb9qQHDOxWTsP2F59gYjXYMZAw7JZsLr03NxiA8ZEV6Vh8KWt8ZBUgCLBKZN97IC GTxTeW2ECJ90PKwrkfVNFs3c4gq7O8WI0EkKQ6l45LpeBHvYWXAIjRIN3rK7v3BgKup2 P4tgNoBoHIiLnN9/o3R4f6TEPlAYQdf9d1vsb2pkTgm8Vygl5P6l18uSlci2O9SH+lIO CtjJ9jlwaWvuMj4ofCX6xlIK4WbCv7Z2gZnTOePdeGvmNPP0RqIvdX9K4u4TiYgJ1Xul 6CvE5snjUpoG7aECzAT3LD0ch4bY1mtd8LZbUZgjnNoPaDwrf3Mn7sGsZVqPPfH0ct9o dFaQ==
X-Received: by 10.50.4.5 with SMTP id g5mr17009927igg.14.1404943296314; Wed, 09 Jul 2014 15:01:36 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.64.176.232 with HTTP; Wed, 9 Jul 2014 15:01:16 -0700 (PDT)
In-Reply-To: <01P9Z5KF3YNU0049PU@mauve.mrochek.com>
References: <53BBF0F0.9000006@seantek.com> <53BBFBA2.5090801@berkeley.edu> <53BC71C1.5080103@seantek.com> <40fb5c2d6eae4c5fbd6243db75f85d69@BL2PR02MB307.namprd02.prod.outlook.com> <389FC4D0-4A4F-4F2E-9BDE-83DA8C8E5710@mnot.net> <CABP7RbeF4RJiKhF=M4iA6wr_sU132oa5qz2yZoSAGDe0T=hhpA@mail.gmail.com> <2982B8C0-E4D4-4259-83CC-403E184F364B@mnot.net> <01P9YXHRLNQM0049PU@mauve.mrochek.com> <53BD8FB4.7050807@dcrocker.net> <01P9Z5KF3YNU0049PU@mauve.mrochek.com>
From: James M Snell <jasnell@gmail.com>
Date: Wed, 09 Jul 2014 15:01:16 -0700
Message-ID: <CABP7Rbc1avV+b8pub=cztP37S13Z+fttbJ-PimRFp98etQd6Ww@mail.gmail.com>
To: Ned Freed <ned.freed@mrochek.com>
Content-Type: text/plain; charset="UTF-8"
Archived-At: http://mailarchive.ietf.org/arch/msg/apps-discuss/5CmJEfqYyRiiJtEZYIb_mVlHLfo
Cc: Mark Nottingham <mnot@mnot.net>, "apps-discuss@ietf.org" <apps-discuss@ietf.org>
Subject: Re: [apps-discuss] New I-D: text/markdown Media Type - draft-seantek-text-markdown-media-type-00
X-BeenThere: apps-discuss@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: General discussion of application-layer protocols <apps-discuss.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/apps-discuss/>
List-Post: <mailto:apps-discuss@ietf.org>
List-Help: <mailto:apps-discuss-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 09 Jul 2014 22:01:39 -0000

Since the variants are already incompatible with one another there are
really only three possibilities:

1. We define a single media type with a semantic that says, "while
documents identified by this media type are related, they may be
completely incompatible from one another, so therefore you have to go
look at this other bit of information to tell what you're really
looking at" (i.e. the variant or profile parameter)
   example: application/markdown;variant=github,
application/markdown;variant=stackoverflow

or

2. We acknowledge that while each of these variants are related, their
incompatibility with one another requires them to have their own
distinct media types... effectively treating them as entirely separate
formats.
   example: application/vnd.github-md, application/vnd.stackoverflow-markdown

or

3. We go with the +markdown suffix approach, which acknowledges the
related natures of the formats, but still allows each to be handled as
if they were separate formats. (it's essentially a shortcut version of
option #1)
   example: application/vnd.github+markdown,
application/vnd.stackoverflow+markdown

We would simply have to acknowledge that +markdown variants can be
incompatible with one another. That can be specified in the definition
of the +markdown suffix.

- James

On Wed, Jul 9, 2014 at 1:55 PM, Ned Freed <ned.freed@mrochek.com> wrote:
>> On 7/9/2014 10:06 AM, Ned Freed wrote:
>> > And even the variants themselves aren't all that precisely defined. Which IMO
>> > makes them a mismatch for the +suffix concept, even if we did something like
>> > +markdown-variant.
>
>
>> The way this thread has progressed suggests to me that the spec is
>> better as a single, specific media type, with no variant option.
>
> My understanding is that there are already multiple variants in play, so
> you'd need multiple media types right off as well as an effort to get
> them all registered.
>
>> When a next form of markdown gets traction, give it its own media type
>> entry.
>
> I'm really not a fan of this approach, but then again, my position as
> reviewer may bias me somewhat here.
>
>                                 Ned
>
> _______________________________________________
> apps-discuss mailing list
> apps-discuss@ietf.org
> https://www.ietf.org/mailman/listinfo/apps-discuss