W3C home > Mailing lists > Public > public-device-apis@w3.org > November 2013

[discovery] A few minor comments

From: <Cathy.Chan@nokia.com>
Date: Fri, 1 Nov 2013 21:18:34 +0000
To: <public-device-apis@w3.org>
Message-ID: <A46437648ECB3D4F852B077AFF9099F529354238@008-AM1MPN2-082.mgdnok.nokia.com>
A few minor comments on the current draft which should be independent of the other ongoing discussions.

1. In section 5.1 in the processing of the getNetworkServices method, step 9.1, the otherwise clause should simply be to continue at the next requested control type. Thus:
	9. For each available service in the list of available service records run the following steps: 
		1. For each requested control type in requested control types: If available service's type attribute equals the requested control type then let matched service equal the value of available service. Otherwise, continue at the next requested control type.
		2. If matched service is not empty then run the following steps: 
		<snip>

2. In the same algorithm, steps 7, 10 and 11 all have "abort the remaining steps and return". Since the method already returned in step 3, these should simply be "abort the remaining steps."

3. In the same algorithm, step 17, s/the number of items currently found in the list of available service records whose type property matches any of the tokens requested in requested control types/the number of items in services found/

4. In section 8.3, in the rule for obtaining a DIAL Device Description File, "dial search target" is used in step 5, but is not included in the algorithm's argument list.
	
5. Also in section 8.3, in the rule for obtaining a DIAL Device Description File, "descriptor file" is used in steps 2 and 4. It should be "device descriptor file" instead.

Regards, Cathy.
Received on Friday, 1 November 2013 21:20:13 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 14:54:01 UTC