From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MKyKm-0004Ez-Jc for qemu-devel@nongnu.org; Sun, 28 Jun 2009 13:38:32 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MKyKh-0004BA-JT for qemu-devel@nongnu.org; Sun, 28 Jun 2009 13:38:31 -0400 Received: from [199.232.76.173] (port=42117 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MKyKh-0004B2-Bn for qemu-devel@nongnu.org; Sun, 28 Jun 2009 13:38:27 -0400 Received: from mail-ew0-f211.google.com ([209.85.219.211]:43009) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MKyKg-0008Qt-UI for qemu-devel@nongnu.org; Sun, 28 Jun 2009 13:38:27 -0400 Received: by ewy7 with SMTP id 7so4255528ewy.34 for ; Sun, 28 Jun 2009 10:38:25 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <4A47A70B.7070806@codemonkey.ws> References: <4A412339.5000109@redhat.com> <4A4395B8.4010401@redhat.com> <4A43BD5D.80307@codemonkey.ws> <4A43C264.6060803@redhat.com> <4A43D600.8060605@codemonkey.ws> <4A449113.8070907@redhat.com> <4A44CB74.1070808@codemonkey.ws> <4A44E2F3.8050804@codemonkey.ws> <4A476C60.1080609@redhat.com> <4A47A70B.7070806@codemonkey.ws> Date: Sun, 28 Jun 2009 19:38:25 +0200 Message-ID: <5b31733c0906281038m20ba238p9ec44d170263221f@mail.gmail.com> Subject: Re: [Qemu-devel] [PATCH 01/11] QMP: Introduce specification file From: Filip Navara Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: "ehabkost@redhat.com" , Stefano Stabellini , "jan.kiszka@siemens.com" , "dlaor@redhat.com" , "qemu-devel@nongnu.org" , Luiz Capitulino , Avi Kivity , Vincent Hanquez On Sun, Jun 28, 2009 at 7:23 PM, Anthony Liguori wro= te: > Avi Kivity wrote: [snip] >> 5, 3., .10, 1e9 are all floats. > > I was following JSON style floats as opposed to C float. =A0C floats are > irregular and difficult to parse with an automatic parser. =A0If we care,= it's > worth doing correctly though. I'd very much prefer to do it correctly and express all C floats in the syn= tax. Going back to my analogy with IMAP, the IMAP syntax doesn't allow for multipart messages with zero parts. While this doesn't sound like anything useful it's a discrepancy with the MIME standard of multipart messages which allows it. And since the MIME standard allows it, applications started to use it (some MMS operator gateways iirc). The result is that instead of expressing the MIME structure directly in IMAP (as was the original intent) one has to first convert it into something that can be expressed in the IMAP syntax (by adding dummy parts to the message). Best regards, Filip Navara