W3C home > Mailing lists > Public > public-device-apis@w3.org > August 2012

Re: Comments on Networked Service Discovery and Messaging draft (general comments)

From: Giuseppe Pascale <giuseppep@opera.com>
Date: Wed, 22 Aug 2012 18:37:26 +0200
To: Cathy.Chan@nokia.com, richt@opera.com
Cc: public-device-apis@w3.org
Message-ID: <op.wjga4onb6ugkrk@giuseppep-x220>
On Wed, 22 Aug 2012 16:30:17 +0200, <richt@opera.com> wrote:
>
>   >
>   > 6.1
>   > - "The id attribute is a unique identifier for the service. Two  
> services
>   > provided at different times or on different objects must have the  
> same id
>   > value." Shouldn't they have "different" values?
>   >
>
> I don't think so. I call getNetworkServices and obtain e.g. 2 objects. I
> then bind those objects to e.g. in-page UI elements. I then re-call
> getNetworkServices and this time I obtain e.g. 4 objects. I can then use
> the .id attribute to re-apply the bindings used from the initial call to
> getNetworkServices with their corresponding UI elements (assuming that
> the NetworkService objects provided in the second call are not provided
> in the same order as they were in the first call).
>

If so, shouldn't the text above be "The same service provided at different  
times or on different objects must have the same id value." ?



-- 
Giuseppe Pascale
TV & Connected Devices
Opera Software
Received on Wednesday, 22 August 2012 16:38:00 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 22 August 2012 16:38:01 GMT