[Message Prev][Message
Next][Thread Prev][Thread Next][Message
Index][Thread Index]
Re: Quick schema queries
- Subject: Re: Quick schema queries
- From: "Frank Mc Alinden" <frankmc@xxxxxxxxxxxxxxxx>
- Date: Sat, 26 Nov 2005 09:34:05 +1100
- References:
<1132957333_71717@mail.internode.on.net>
Hi Mark
> One thing that did cross my mind as I copied it. Everything is in
upper
> case, but Ian mentioned in passing a while back that:
>
> name section (and indeed all sturctural elements of the message) must
> be lowercase
The copy of the specs i have state that
All structural elements of an xPL message . ie all header fields ,schema
class and type names of name/value pairs ,must contain only the following
characters:
A-Z,a-z and 0 to 9........
So it shouldnt matter....and my tvosd and lcdosd both do a check on case
when parsing a received message......
HTH
Frank
----- Original Message -----
From: "Mark Hindess" <xpl@xxxxxxx>
To: "xPL List" <ukha_xpl@xxxxxxx>
Sent: Saturday, November 26, 2005 9:22 AM
Subject: [ukha_xpl] Quick schema queries
>
> Are x10.basic messages permitted to send the "ALL_UNITS_ON"
command? It
> is missing from the list of valid commands (both on the old site and
on
> the wiki). I was about to add it when I worried that perhaps it was
> intentional. 'ALL_LIGHTS_OFF' was in the list twice - I've corrected
> this on the wiki copy only.
>
> I went to read the osd.basic schema on the wiki and it hadn't been
> copied over yet so I took the liberty of doing it.
>
> One thing that did cross my mind as I copied it. Everything is in
upper
> case, but Ian mentioned in passing a while back that:
>
> name section (and indeed all sturctural elements of the message) must
> be lowercase
>
> I left the case unchanged, but I guess these should really be
converted
> to lowercase to avoid confusion? (And converting the schemas when
they
> are copied would be reasonably efficient time to do it.)
>
> I'll happily update osd.basic depending on the answer to this
question,
> but I'm not volunteering to do them all. ;-)
>
> Also, would I be correct in thinking that values from predefined sets
> of constants - such as the X10 command values or 'write', 'clear', etc
> commands in the osd.basic schema - should also be lower case now?
>
> Obviously, I'm thinking sending here and being flexible about
receiving
> upper/mixed case.
>
> Regards,
> Mark.
>
>
>
>
>
> xPL Links: http://www.xplproject.org.uk http://www.xplhal.com
> http://www.xpl.myby.co.uk
> To Post a Message: ukha_xpl@xxxxxxx
> To Subscribe: ukha_xpl-subscribe@xxxxxxx
> To Unsubscribe: ukha_xpl-unsubscribe@xxxxxxx
> Yahoo! Groups Links
>
>
>
>
>
>
xPL Main Index |
xPL Thread Index |
xPL Home |
Archives Home
|