The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[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

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.