Re: MPEG asks for MIME review for the MPEG21 file format

Chris Lilley <chris@w3.org> Mon, 21 May 2007 15:26 UTC

Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id l4LFQQZ1076565 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 21 May 2007 08:26:26 -0700 (MST) (envelope-from owner-ietf-xml-mime@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.13.5/8.13.5/Submit) id l4LFQQ30076564; Mon, 21 May 2007 08:26:26 -0700 (MST) (envelope-from owner-ietf-xml-mime@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-xml-mime@mail.imc.org using -f
Received: from homer.w3.org (homer.w3.org [128.30.52.30]) by balder-227.proper.com (8.13.5/8.13.5) with ESMTP id l4LFQPmp076557 for <ietf-xml-mime@imc.org>; Mon, 21 May 2007 08:26:25 -0700 (MST) (envelope-from chris@w3.org)
Received: from [127.0.0.1] (localhost [127.0.0.1]) by homer.w3.org (Postfix) with ESMTP id 724E04F041; Mon, 21 May 2007 11:26:23 -0400 (EDT)
Date: Mon, 21 May 2007 17:26:03 +0200
From: Chris Lilley <chris@w3.org>
X-Mailer: The Bat! (v3.95.6) Home
Reply-To: Chris Lilley <chris@w3.org>
Organization: W3C
X-Priority: 3 (Normal)
Message-ID: <1501897203.20070521172603@w3.org>
To: Graham Klyne <GK@ninebynine.org>
Cc: Dave Singer <singer@apple.com>, Martin Duerst <duerst@it.aoyama.ac.jp>, Anne van Kesteren <annevk@opera.com>, Larry Masinter <LMM@acm.org>, ned.freed@mrochek.com, ietf-liaisons@ietf.org, "'Christian Timmerer (ITEC)'" <christian.timmerer@itec.uni-klu.ac.at>, ietf-types@alvestrand.no, ietf-xml-mime@imc.org
Subject: Re: MPEG asks for MIME review for the MPEG21 file format
In-Reply-To: <465162D6.6060301@ninebynine.org>
References: <E94B6002-BAE6-4D08-98A3-89E8D46504F3@stewe.org> <AE61ED01-9B91-4D5D-8654-AF8DD1B86EA2@stewe.org> <464814BE.4090208@ninebynine.org> <p06240821c26e59493bca@[17.202.35.52]> <4649B0BA.4040002@ninebynine.org> <p0624084bc26f9de750bc@[17.202.35.52]> <002901c798b8$0f9ab4f0$2ed01ed0$@org> <892351513.20070518031209@w3.org> <op.tsidc6yf64w2qv@annevk.hotspot.sfr.fr> <6.0.0.20.2.20070518194309.08d1ee50@localhost> <p0624083ec273750809d7@[17.202.35.52]> <1132641919.20070520023450@w3.org> <465162D6.6060301@ninebynine.org>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-xml-mime@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-xml-mime/mail-archive/>
List-ID: <ietf-xml-mime.imc.org>
List-Unsubscribe: <mailto:ietf-xml-mime-request@imc.org?body=unsubscribe>

On Monday, May 21, 2007, 11:13:58 AM, Graham wrote:

GK> Chris Lilley wrote:
>> On Friday, May 18, 2007, 5:27:52 PM, Dave wrote:

>> (I'm snipping the parts already covered by Martin)

>> DS> Is a ZIP compressed XML file servable under a +xml MIME type? 
>> DS> "encoding='zipped Shift_JIS'"?

>> I suspect you mean gzip, which is a compression method; zip is an archive format (often compressed internally).

>> If you started with foo.xml in Shift_JIS, the encoding declaration would say just that. If you then make foo.xml.gz the encoding declaration (when decompressed) says exactly the same thing. The fact that is been gzipped is conveyed out of band, in the http headers:

>> Content-Encoding: gzip

>> There is scope for confusion, since XML uses 'encoding' for 'character encoding' (although that's a big advance on calling it 'charset'). HTTP uses content-encoding. The two uses of the concept 'encoding' occur at different levels in the stack.

>> In consequence, using gzip content-encoding is compatible with +xml media types.

GK> For clarification: this would be the case only when a suitable MIME
GK> content-transfer-encoding header is applied, n'est pas? 

If its compressed on the fly, yes. If its stored compressed on the server, then Content-Encoding is used.

GK>  Otherwise such added
GK> encoding/decoding could be applied lower in the stack and not visible at the
GK> level of the MIME object.

GK> #g





-- 
 Chris Lilley                    mailto:chris@w3.org
 Interaction Domain Leader
 Co-Chair, W3C SVG Working Group
 W3C Graphics Activity Lead
 Co-Chair, W3C Hypertext CG