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

Chris Lilley <> Sun, 20 May 2007 23:02 UTC

Received: from (localhost []) by (8.13.5/8.13.5) with ESMTP id l4KN2buL042845 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 20 May 2007 16:02:37 -0700 (MST) (envelope-from
Received: (from majordom@localhost) by (8.13.5/8.13.5/Submit) id l4KN2bOm042844; Sun, 20 May 2007 16:02:37 -0700 (MST) (envelope-from
X-Authentication-Warning: majordom set sender to using -f
Received: from ( []) by (8.13.5/8.13.5) with ESMTP id l4KN2UlR042708 for <>; Sun, 20 May 2007 16:02:30 -0700 (MST) (envelope-from
Received: from [] (localhost []) by (Postfix) with ESMTP id C27E14F0AF; Sun, 20 May 2007 19:02:15 -0400 (EDT)
Date: Sun, 20 May 2007 02:34:50 +0200
From: Chris Lilley <>
X-Mailer: The Bat! (v3.95.6) Home
Reply-To: Chris Lilley <>
Organization: W3C
X-Priority: 3 (Normal)
Message-ID: <>
To: Dave Singer <>
Cc: Martin Duerst <>, Anne van Kesteren <>, Larry Masinter <>, <>, "'Graham Klyne'" <>, <>, "'Christian Timmerer (ITEC)'" <>, <>, <>
Subject: Re: MPEG asks for MIME review for the MPEG21 file format
In-Reply-To: <p0624083ec273750809d7@[17\.202\.35\.52]>
References: <> <> <> <p06240821c26e59493bca@[]> <> <p0624084bc26f9de750bc@[]> <002901c798b8$0f9ab4f0$2ed01ed0$@org> <> <> <> <p0624083ec273750809d7@[]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Precedence: bulk
List-Archive: <>
List-ID: <>
List-Unsubscribe: <>

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.

 Chris Lilley          
 Interaction Domain Leader
 Co-Chair, W3C SVG Working Group
 W3C Graphics Activity Lead
 Co-Chair, W3C Hypertext CG