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: Quick schema queries



That was kinda lifted from the emails that flew about..

I can see your point, although, I'm not sure that "\n{\n" equals
"chr(10){chr(10)" - we already use "\n" within the
value of OSD messages
that span lines on an LCD without problems.

On a re-read of the mail exchanges, it would appear that "{" and
"}" should
be valid in a message without any need to escape them.

I'll edit the document to suit.

Ian.

-----Original Message-----
From: ukha_xpl@xxxxxxx [mailto:ukha_xpl@xxxxxxx] On Behalf
Of Mal Lansell
Sent: 26 November 2005 13:49
To: ukha_xpl@xxxxxxx
Subject: Re: [ukha_xpl] Quick schema queries

"Any character value which has structural meaning within the protocol,
that
is, "{", "}", Line Feed (ASCII: 10 decimal) etc
appearing within the data
section of a name/value pair should be "escaped", thus:
*\n{\n*."

That doesn't seem right to me - the \n character terminates the line (and
the value).  Embedding it in a value will cause some message parsers to
fail.

Also, \n{\n is the pattern you get with the structural elements - so it
can't be the way to "escape" a { character.

Mal

Ian Lowe wrote:

> > I didn't update the wiki because I thought Ian said that he would
> > and
> because it seemed quite a drastic change when > I looked - the
"Notes"
> paragraph mentions case-insensitive several times.
>
> Yep, there was a lot of ambiguity there. The Wiki text has been
> "sharpened"
> up quite a bit.
>
> I'd appreciate some eyes over this in the next few days:
>
> http://wiki.xplproject.org.uk/index.php/XPL_Specification_Document
>
> Cheers!
>
> >Gerry and Mal seemed to think that it was a reasonable
interpretation.
>
> Yeah, it was quite a convincing argument - I'm swayed.
>
> > I think it would be good to clarify these issues and I'd be happy
to
> help
> update the wiki when consensus has been
> > reached.
>
> I *think* we are there, as I say - I'd appreciate some feedback on the
> wiki edits.
>
> Ian.
>
>
>
>
> 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
>
>     *  Visit your group "ukha_xpl
>       <http://groups.yahoo.com/group/ukha_xpl>"
on the web.
>
>     *  To unsubscribe from this group, send an email to:
>        ukha_xpl-unsubscribe@xxxxxxx
>
> <mailto:ukha_xpl-unsubscribe@xxxxxxx?subject=Unsubscribe>
>
>     *  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
>       Service <http://docs.yahoo.com/info/terms/>.
>
>
> ----------------------------------------------------------------------
> --
>




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.