[Message Prev][Message
Next][Thread Prev][Thread Next][Message
Index][Thread Index]
Re: Multiple Message Bodies
- Subject: Re: Multiple Message Bodies
- From: Mark Hindess <xpl@xxxxxxxxxxxxxxxxx>
- Date: Sun, 11 Dec 2005 11:41:49 +0000
On 11 December 2005 at 10:55, Mal Lansell <mal@xxxxxxx> wrote:
>
> Multiple bodies are not supported. One of the core aims of xPL is
> simplicity, to enable embedded devices to handle xPL as well. That
> means all messages follow quite a strict format, with one header
> followed by one body.
>
> As for repeated field names - they are allowed, and in fact are often
> necessary.
Is the requirement to support duplicates defined in the message schema?
I think to would be a good idea to prohibit it unless it is clearly
defined by the schema. For instance in the example I gave it would
clearly be very ambiguous for a developer field in an x10.basic xpl-cmnd
message to include a 'command' entry.
I think the constaint that developer fields should never repeat schema
defined fields should be made explicit.
-Mark.
xPL Main Index |
xPL Thread Index |
xPL Home |
Archives Home
|