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

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 UTC