<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
Hello,<BR>
<BR>
You are right. The signals in my application are named with "-" and "_" in the same string. I thought underscores and dash were both rejected by Dbus check. Indeed, only dash character is rejected while underscore character works.<BR>
<BR>
Neverthless, I do not know why dash character is rejected by Dbus check in member name.<BR>
Thank you and best regards<BR><BR>VyDaMan<BR><BR>> From: thiago@kde.org<BR>> To: ernaveenverma@gmail.com<BR>> Subject: Re: Restriction in naming a signal<BR>> Date: Tue, 23 Sep 2008 09:25:01 +0200<BR>> CC: dbus@lists.freedesktop.org<BR>> <BR>> Naveen Verma wrote:<BR>> >Thant strange, I was checking with dbus specification at:<BR>> >http://dbus.freedesktop.org/doc/dbus-specification.html#message-protocol<BR>> >-messages<BR>> ><BR>> >and there it seems at least underscore can be used in member name. Is<BR>> > the spec need to be updated?<BR>> <BR>> Hmm... you're quite right. The underscore is permitted.<BR>> <BR>> I misread my own code: it checks that each character in the member name <BR>> passes the test IsValidCharacterNoDash. It didn't occur to me to check if <BR>> the function checked underscores too (it does).<BR>> <BR>> -- <BR>> Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org<BR>> PGP/GPG: 0x6EF45358; fingerprint:<BR>> E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358<BR><BR><br /><hr />Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy! <a href='http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us' target='_new'>Try it!</a></body>
</html>