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

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

From: <Cathy.Chan@nokia.com>
Date: Wed, 22 Aug 2012 17:06:49 +0000
To: <giuseppep@opera.com>, <richt@opera.com>
CC: <public-device-apis@w3.org>
Message-ID: <A46437648ECB3D4F852B077AFF9099F518DF842B@008-AM1MPN1-062.mgdnok.nokia.com>
Giuseppe wrote:
> 
> 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." ?
> 

+1. 


Received on Wednesday, 22 August 2012 17:07:55 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 22 August 2012 17:07:55 GMT