W3C home > Mailing lists > Public > xml-dist-app@w3.org > January 2004

Re: Propsed new issue: variability of encoding in Miffy

From: Mark Nottingham <mark.nottingham@bea.com>
Date: Wed, 7 Jan 2004 08:57:50 -0800
Message-Id: <A0D41510-4132-11D8-8FD6-00039396E15A@bea.com>
Cc: "Martin Gudgin" <mgudgin@microsoft.com>, "Anish Karmarkar" <Anish.Karmarkar@oracle.com>, "Xml-Dist-App@W3. Org" <xml-dist-app@w3.org>
To: noah_mendelsohn@us.ibm.com

An example:

I want to send a MIFFY-optimized SOAP message to Bob using a Mail  
binding. To get to him, it'll have to go through the following message  


Furthermore, let's imagine that the PrivateMailProtocol between  
BobExternalServer and BobInternalServer can't handle binary data; i.e.,  
it's not 8-bit clean. Such things do exist, especially in legacy  
enterprise mail systems.

So, I can send a MIFFY-encoded document to my local server as a  
multipart MIME message with binary attachments, and it will work just  
fine. It can forward it to BobExternalServer without any changes to the  

However, BobExternalServer is in a bit of a pickle; it's acting as an  
SMTP gateway to a legacy system that can't handle that message. In  
MIME, there's an easy solution to this; Content-Transfer-Encoding,  
which allows you to encode parts of the message so that they're safe  
for transport.

If we disallow CTEs other than binary, BobExternalServer will be forced  
to either refuse the message, or to understand MIFFY and encode the  
message as an XML Infoset. Given that deployment of MIME  
Content-Transfer-Encoding is pretty universal (thanks to literally  
decades of coordination in the IETF), and the footprint of MIFFY is  
currently exactly zero, I think it's an easy choice. :)

This isn't a problem in HTTP, because it doesn't have this legacy. Of  
course, if HTTP gateways to another protocol, that restriction won't  
apply, and I think that's a good thing (see above).

Mark Nottingham   Principal Technologist
Office of the CTO   BEA Systems
Received on Wednesday, 7 January 2004 12:02:30 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 22:01:25 UTC