Re: [apps-discuss] I-D Action: draft-ietf-appsawg-text-markdown-02.txt

"Murray S. Kucherawy" <superuser@gmail.com> Wed, 24 September 2014 06:22 UTC

Return-Path: <superuser@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 4068E1A7028 for <apps-discuss@ietfa.amsl.com>; Tue, 23 Sep 2014 23:22:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 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, HTML_MESSAGE=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 8W_X5gpTZa91 for <apps-discuss@ietfa.amsl.com>; Tue, 23 Sep 2014 23:22:15 -0700 (PDT)
Received: from mail-wg0-x234.google.com (mail-wg0-x234.google.com [IPv6:2a00:1450:400c:c00::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 77E071A1B1C for <apps-discuss@ietf.org>; Tue, 23 Sep 2014 23:22:15 -0700 (PDT)
Received: by mail-wg0-f52.google.com with SMTP id n12so3816942wgh.11 for <apps-discuss@ietf.org>; Tue, 23 Sep 2014 23:22:13 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=SY8ZiwOZ9uf/vCUhWwpby5AWJzihYSZrttFjaHgUync=; b=p3iWHONAQU80w/c5gCLJiYsxj4EgOFLF73I06i9jkulia2k5FPNYGjCzst8JzDO6XW 9AmL9fZYqvg+82djd0BCJTWnEIibmavC7hB4Q+AJ1LADc3wDbAw7xkuRgUgAeoDh7A4d nqhLQp5WKguUbZPYQjSlfRUNApyZvRwErQeGrC09hwRYxcNZ8KUPb1QSXvHb0hfnh8Zc QMMr/xe2ig26HazpsU1rfCnaMfPzKKKOGkVGLjUzKZnORlkOJ5Jx4v/yIxbyO7Ur0RXq hHvO/7MKtAJe6sw2wnH7kCNDXcTSI5qrPdTYJCr823ivun1Ae7EaxAiTplzuD1NCaZbM WX9Q==
MIME-Version: 1.0
X-Received: by 10.194.237.2 with SMTP id uy2mr5219362wjc.89.1411539733560; Tue, 23 Sep 2014 23:22:13 -0700 (PDT)
Received: by 10.27.76.134 with HTTP; Tue, 23 Sep 2014 23:22:13 -0700 (PDT)
In-Reply-To: <20140922224217.25104.13357.idtracker@ietfa.amsl.com>
References: <20140922224217.25104.13357.idtracker@ietfa.amsl.com>
Date: Tue, 23 Sep 2014 23:22:13 -0700
Message-ID: <CAL0qLwZffLpce4X1Lo_V9-yxUBkCnAbtigCe59OUbzeWKs8LFw@mail.gmail.com>
From: "Murray S. Kucherawy" <superuser@gmail.com>
To: IETF Apps Discuss <apps-discuss@ietf.org>
Content-Type: multipart/alternative; boundary="089e01493f6867d3020503c9b4cc"
Archived-At: http://mailarchive.ietf.org/arch/msg/apps-discuss/Dhe07bGFHr55p8p-eYZFNFiTsl4
Subject: Re: [apps-discuss] I-D Action: draft-ietf-appsawg-text-markdown-02.txt
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, 24 Sep 2014 06:22:18 -0000

On Mon, Sep 22, 2014 at 3:42 PM, <internet-drafts@ietf.org> wrote:

>
> A New Internet-Draft is available from the on-line Internet-Drafts
> directories.
>  This draft is a work item of the Applications Area Working Group Working
> Group of the IETF.
>
>         Title           : The text/markdown Media Type
>         Author          : Sean Leonard
>         Filename        : draft-ietf-appsawg-text-markdown-02.txt
>         Pages           : 25
>         Date            : 2014-09-22
>
> Abstract:
>    This document registers the text/markdown media type for use with
>    Markdown, a family of plain text formatting syntaxes that optionally
>    can be converted to formal markup languages such as HTML.
>

This is my first time through the document, so I may lack some context.
I'm still learning the history and politics; hopefully some of this review
has not yet been tainted by them.

1) You can drop ".txt" from the filename.

2) The section numbering goes backwards after 1.4 somehow.  Is there
anything funny in the XML forcing this?  Or are you editing these by hand?

3) There's an awful lot of context and history being established throughout
Section 1.  It's not clear to me that a document that's supposed to be just
a media type registration needs all this stuff (material SM would call
"marketing").  Based on a cursory review, it looks like Section 1.4,
paragraphs 1, 3, and 4, would be an adequate and complete Section 1.  If
you're keen to have all this context published, you could move the rest to
an appendix.

4) What is now Section 2 should go after what is now Section 4.

5) I'm not sure that I agree the charset should be mandatory.  It seems to
go against what I'm reading in RFC2046 Section 4.1 to not have "us-ascii"
as a default since this is a subtype of the "text" media type.  Why should
this be different from how other text/* types do it?

6) The "flavor" tag itself seems to be a debatable point.  I don't have an
opinion on that yet (more discussion, please), but as defined the name is
case-sensitive.  Is that what we want?  And does it need to be able to
contain spaces or special characters such that it will need to be quoted?

7) The "processor" tag makes me very nervous indeed.  It seems to me
anything you might say as part of the processor argument should be inferred
from the value of the flavor argument, obviating the need for this.  I
would not expect security reviewers or consumers to tolerate the idea that
the author of a MIME header field can tell a consumer what command to run
and with what arguments.  If that were the case, we had better be prepared
to come up with a lot of text or ABNF that hardens this against command
injection attacks.

8) I'm unclear on what the "output-type" tag is for.  Isn't the output
format a function of the context in which the MIME part is being
processed?  For example, if I get this in a piece of email, wouldn't the
markdown processor output in HTML if I'm using an HTML-enabled MUA, or in
text otherwise?

9) Why is this a provisional registration?

10) In Section 4 you talk about private use or custom parameter values
needing to be prefixed with "!".  How is this different from the
now-deprecated practice of prefixing private use header fields with "X-"?
(See BCP 178.)

11) For the flavor parameter, I'm not clear on why it's a mandatory value
that has a default.

12) The requirement to register tools that implement given flavors is
unusual.  What's the impetus here?  I'm also not sure about having a
Designated Expert that to validate every such registration.  That seems
like it could be quite a lot to ask of a volunteer.  Is that necessary?

13) Security Considerations refers to the "template questions in Section
2", but Section 2 is an example section.  Are you using "xref" tags, or
setting section numbers manually?

14) Also in Security Considerations, I suggest at least having a summary of
the Section 4 issues here, if not actually moving them here.

15) RFC1738 is obsoleted by RFCs 4248 and 4266.

16) Appendix A should include a notation like "[RFC Editor: Please delete
this section prior to publication.]"

-MSK