Restriction in naming a signal

Thiago Macieira thiago at kde.org
Tue Sep 23 00:25:01 PDT 2008


Naveen Verma wrote:
>Thant strange, I was checking with dbus specification at:
>http://dbus.freedesktop.org/doc/dbus-specification.html#message-protocol
>-messages
>
>and there it seems at least underscore can be used in member name. Is
> the spec need to be updated?

Hmm... you're quite right. The underscore is permitted.

I misread my own code: it checks that each character in the member name 
passes the test IsValidCharacterNoDash. It didn't occur to me to check if 
the function checked underscores too (it does).

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freedesktop.org/archives/dbus/attachments/20080923/94bb9aca/attachment.pgp 


More information about the dbus mailing list