Re: [apps-discuss] Comments on draft-ietf-appsawg-xml-mediatypes-06

S Moonesamy <sm+ietf@elandsys.com> Fri, 14 February 2014 15:14 UTC

Return-Path: <sm@elandsys.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 CD8391A0260 for <apps-discuss@ietfa.amsl.com>; Fri, 14 Feb 2014 07:14:55 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.338
X-Spam-Level:
X-Spam-Status: No, score=-2.338 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, RP_MATCHES_RCVD=-0.548, T_DKIM_INVALID=0.01] 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 hnHxFViq85ru for <apps-discuss@ietfa.amsl.com>; Fri, 14 Feb 2014 07:14:52 -0800 (PST)
Received: from mx.ipv6.elandsys.com (mx.ipv6.elandsys.com [IPv6:2001:470:f329:1::1]) by ietfa.amsl.com (Postfix) with ESMTP id 0F9B71A0253 for <apps-discuss@ietf.org>; Fri, 14 Feb 2014 07:14:52 -0800 (PST)
Received: from SUBMAN.elandsys.com ([197.224.133.236]) (authenticated bits=0) by mx.elandsys.com (8.14.5/8.14.5) with ESMTP id s1EFEaAx021131 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 14 Feb 2014 07:14:47 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=opendkim.org; s=mail2010; t=1392390889; bh=FoVCmoESCo5moOaM8Ul95SfQMx9whBRrl1BnHpchoAM=; h=Date:To:From:Subject:Cc:In-Reply-To:References; b=hPdQGWg3lm3NW1Lqna2plSaBTp5LCY76VDcrDfjb3Atg8rHySXNZJfnjou4dfqasc el0Ld8xdBWqSUjSUePpJHTXq1hX3SNj8ECH8Yh5ckqQsMYeB8yEg+wu7gfvzSqmeBD PjcDUG1EoQOmgkLcK5ershRX7+QfO1BVCFWNfVDU=
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=elandsys.com; s=mail; t=1392390889; i=@elandsys.com; bh=FoVCmoESCo5moOaM8Ul95SfQMx9whBRrl1BnHpchoAM=; h=Date:To:From:Subject:Cc:In-Reply-To:References; b=fRDWDcrikDbooKn7/ISZtQwZGjRPmNpsGq66IS7cBkBLb8yTbCXSZP4Mfrkl8VLRJ 0WBcvhlnt0ZXCnKS94eYyMsRwT8FTCI5v21DdsTMct2aN6VxJfV61/ZDuRl9VcvdB+ WJudb9tWjhfZRnBqZWhuTftI7bQ45V4X+zDscfzg=
Message-Id: <6.2.5.6.2.20140214062237.0b3bfbe0@elandnews.com>
X-Mailer: QUALCOMM Windows Eudora Version 6.2.5.6
Date: Fri, 14 Feb 2014 07:07:40 -0800
To: ht@inf.ed.ac.uk
From: S Moonesamy <sm+ietf@elandsys.com>
In-Reply-To: <f5br479y8ol.fsf@troutbeck.inf.ed.ac.uk>
References: <6.2.5.6.2.20140110142955.0ac73048@elandnews.com> <f5br479y8ol.fsf@troutbeck.inf.ed.ac.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format="flowed"
Archived-At: http://mailarchive.ietf.org/arch/msg/apps-discuss/1fry83nUIXGOoXqjyybGPmHp9wU
Cc: Chris Lilley <chris@w3.org>, apps-discuss@ietf.org
Subject: Re: [apps-discuss] Comments on draft-ietf-appsawg-xml-mediatypes-06
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: Fri, 14 Feb 2014 15:14:56 -0000

Hi Henry,
At 07:23 11-02-2014, Henry S. Thompson wrote:
> > In Section 3.1:
>
>So, good point -- There's a subtle issue here which I should try to
>clarify.  We have
>
>  MIME agents (producers or consumers)
>   1) Which are also XML processors, i.e. XML-aware
>   2) Which are not XML processors, i.e. not XML-aware
>      2a) Which are none-the-less good MIME citizens, i.e. they try to
>          conform to _all_ media-type registrations to the extent that
>          they can, and they are therefore trying to conform to this one.
>      2b) The real ignorant remnant, for whom by definition nothing
>           here is relevant.
>
>How much detail is needed in this regard in the spec?

A good MIME citizen (2a) can try to conform to all media-type 
registrations.  It is not possible to do that in practice as there 
can be new media-type registrations after the code is deployed.  It 
is also more work for the implementer as he or she would have to read 
a lot of specifications to identify the requirements to be 
followed.  Some of these implementations might be like 2b.

I'll quote the requirement:

   "XML-unaware MIME producers MUST NOT supply a charset parameter with
    an XML MIME entity unless the entity's character encoding is reliably
    known."

What happens when that producer supplies a charset parameter with XML 
entity when the entity's character encoding is not reliably 
known?  That's the angle I would look at.

I think that it is better not to get into that level of detail (see 
Point 1 and 2).

>Maybe, as for the following para., this is just too much of an
>in-crowd thing.  What it _means_ to those of us who have struggled
>with this situation for the last 10 years is "Sysadmins: do _not_
>configure your apache servers to serve XML and/or XHTML with a charset
>param of iso-8859-1 by default unless you _really_ know what your
>users are shipping"

Ok.

>Person, but see reply to Tim Bray and above.

Ok.


> >   "The use of UTF-32 is NOT RECOMMENDED for XML MIME entities."
> >
> > I suggest having a short explanation about why the use of UTF-32 is
> > not recommended instead of only saying that it is not recommended.
>
>Care to suggest some wording?  Seriously, my understanding is that the
>main reason is that most (all?) of the major browsers have removed
>support for UTF-32, often citing security considerations which I don't
>fully understand. . .  So, is something along the following lines
>sufficient?
>
>   UTF-32 is not widely supported, and security concerns about its use
>   have been raised.  Accordingly, the use of [as before].

The above text looks good.  I'll try and suggest alternate wording if 
it is needed.  The reason I flagged this is it can come up as an 
issue during IESG Evaluation.

>I could repeat it, but I hate duplicating normative prose. . .

Ok.

> > Would a XML-unaware MIME consumer be following this specification?
>
>I hope so, see above.

I don't feel strongly about this.  I suggest getting other people to 
weight in (if they have not done so) and choose whatever has agreement.

>Fair enough.  This is very old prose, which I hadn't touched.  At
>least the UTF-8 advice should be repeated.

Ok.

>I'll get rid of the double negation.

Ok.

>Good idea -- I'll leave an introductory bit, so the 8.2 doesn't come
>completely out of the blue.

Ok.

> > I suggest moving the examples in Section 9 to an appendix.
>
>They were in a main section in 3023, and I'd rather not -- do you feel
>strongly?  Does anyone else, either way?

I do not feel strongly about that.

Regards,
S. Moonesamy