Re: [apps-discuss] draft-ietf-appsawg-xml-mediatypes vs. JSON and BOM and UTF-8

ht@inf.ed.ac.uk (Henry S. Thompson) Wed, 08 January 2014 10:00 UTC

Return-Path: <ht@inf.ed.ac.uk>
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 29E441AE13B for <apps-discuss@ietfa.amsl.com>; Wed, 8 Jan 2014 02:00:45 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.84
X-Spam-Level:
X-Spam-Status: No, score=-2.84 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.538, 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 APMyw_syiQvN for <apps-discuss@ietfa.amsl.com>; Wed, 8 Jan 2014 02:00:42 -0800 (PST)
Received: from treacle.ucs.ed.ac.uk (treacle.ucs.ed.ac.uk [129.215.16.102]) by ietfa.amsl.com (Postfix) with ESMTP id 39FBA1AE135 for <apps-discuss@ietf.org>; Wed, 8 Jan 2014 02:00:41 -0800 (PST)
Received: from crunchie.inf.ed.ac.uk (crunchie.inf.ed.ac.uk [129.215.33.180]) by treacle.ucs.ed.ac.uk (8.13.8/8.13.4) with ESMTP id s08A0EWp016047; Wed, 8 Jan 2014 10:00:19 GMT
Received: from troutbeck.inf.ed.ac.uk (troutbeck.inf.ed.ac.uk [129.215.25.32]) by crunchie.inf.ed.ac.uk (8.14.4/8.14.4) with ESMTP id s08A0Biq002670; Wed, 8 Jan 2014 10:00:11 GMT
Received: from troutbeck.inf.ed.ac.uk (localhost [127.0.0.1]) by troutbeck.inf.ed.ac.uk (8.14.4/8.14.4) with ESMTP id s08A0CP5016148; Wed, 8 Jan 2014 10:00:12 GMT
Received: (from ht@localhost) by troutbeck.inf.ed.ac.uk (8.14.4/8.14.4/Submit) id s08A0AeC016144; Wed, 8 Jan 2014 10:00:10 GMT
X-Authentication-Warning: troutbeck.inf.ed.ac.uk: ht set sender to ht@inf.ed.ac.uk using -f
To: Larry Masinter <masinter@adobe.com>
References: <dc29826a2bbf48088abe51bb5de22e0d@BL2PR02MB307.namprd02.prod.outlook.com>
From: ht@inf.ed.ac.uk
Date: Wed, 08 Jan 2014 10:00:10 +0000
In-Reply-To: <dc29826a2bbf48088abe51bb5de22e0d@BL2PR02MB307.namprd02.prod.outlook.com> (Larry Masinter's message of "Tue\, 7 Jan 2014 19\:01\:31 +0000")
Message-ID: <f5b38kyhjyt.fsf@troutbeck.inf.ed.ac.uk>
User-Agent: Gnus/5.101 (Gnus v5.10.10) XEmacs/21.5-b33 (linux)
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Edinburgh-Scanned: at treacle.ucs.ed.ac.uk with MIMEDefang 2.60, Sophie, Sophos Anti-Virus, Clam AntiVirus
X-Scanned-By: MIMEDefang 2.60 on 129.215.16.102
Cc: IETF Apps Discuss <apps-discuss@ietf.org>
Subject: Re: [apps-discuss] draft-ietf-appsawg-xml-mediatypes vs. JSON and BOM and UTF-8
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, 08 Jan 2014 10:00:45 -0000

Larry Masinter writes:

> I have some discussion topics for draft-ietf-appsawg-xml-mediatypes
> which I will send out one-by-one.

Great, thanks.

> This first one was discussed but here I'm making some specific suggestions.

I'll respond later to the larger issue here, but not for a few days,
TAG meeting this week.

> ...

> Then section 3.1 XML MIME producers
>     "XML MIME producers" generating a MIME body (who SHOULD encode
>     the XML as UTF-8 without a BOM, and SHOULD also include a UTF-8
>     encoding declaration)
> And
>    'XML MIME wrappers" those that are not re-encoding an XML body
>    and just want to deliver it via MIME who can follow the
>    guidelines in 3.1.
> I don't really understand what a "XML-unaware MIME producer" is. If
> they're "unaware", why are they reading this spec?

I think this makes sense -- it means any MIME producer who respects
media type registrations as far as possible, including this one, but
doesn't have XML processing capabiities, so in particular can't detect
or make use of XML encoding declarations.

I can try to clarify this in the draft.

ht
-- 
       Henry S. Thompson, School of Informatics, University of Edinburgh
      10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440
                Fax: (44) 131 650-4587, e-mail: ht@inf.ed.ac.uk
                       URL: http://www.ltg.ed.ac.uk/~ht/
 [mail from me _always_ has a .sig like this -- mail without it is forged spam]