qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 01/11] QMP: Introduce specification file


From: Filip Navara
Subject: Re: [Qemu-devel] [PATCH 01/11] QMP: Introduce specification file
Date: Sun, 28 Jun 2009 19:38:25 +0200

On Sun, Jun 28, 2009 at 7:23 PM, Anthony Liguori<address@hidden> wrote:
> Avi Kivity wrote:
[snip]
>> 5, 3., .10, 1e9 are all floats.
>
> I was following JSON style floats as opposed to C float.  C floats are
> irregular and difficult to parse with an automatic parser.  If we care, it's
> worth doing correctly though.

I'd very much prefer to do it correctly and express all C floats in the syntax.

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]