feedback on The System Information API W3C Editor's Draft 05 May 2010

Dear,


Here are few comments with respect to http://dev.w3.org/2009/dap/system-info/

1) Why isn't the figure in 4.1 in SVG ?
2) Can it be said explicitely that the name of the Property (the
property ID) is the same as the name of the Interface that the
onSuccess function will get
2.a) in that case in 4.5: navigator.system.watch("Processing",success)
==> navigator.system.watch("CPU",success)


3) Example in 4.7 feel strange in many ways

// Find if the current connection is WiFi, and if so monitor its signal strength
navigator.system.get("Network",success,null);

function success(connection) {
==> isn't connection supposed to be an array here ?
  if (connection.type===connection.TYPE_WIFI)
    navigator.system.watch("WifiConnection",wifiWatchCB);
==> IS REALLY "WifiConnection" a Property ?
}

function wifiWatchCB(connection) {
  document.getElementById(indicator, "Wireless "+connection.essid+" at
"+(connection.signalStrength*100)+"%");
==> essid doesn't exist : is it supposed to be SSID ?
==> signalStrengh doesn't exist : is it supposed to be currentSignalStrength ?
}

You probably need to watch all the connections to do what you expect here

4) In 4.8

navigator.system.watch("AmbientLight",success, {highThreshold: 0.9,
thresholdTarget:"normalizedValue"});
==>
navigator.system.watch("AmbientLight",success, null, {highThreshold:
0.9, thresholdTarget:"normalizedValue"});

5) It's probably worth giving real example of values for attributes in
4.9 instead of MIDI or AVI for compression format and ogg for
packaging format

6) Most of the constants values need some rework: they are not all
mutually exclusive (RAM and HardDisk, TouchScreen and Tablet) and
there is missing values (Bluetooth for network))

7) Printer could be added to the output devices list, together with
braille reader and embossed printer

8) REFERENCES
* CORE-DEVICE last version is of 5 may
* CSSOM last version is of 04 August 2009

Regards,

Mohamed ZERGAOUI
-- 
Innovimax SARL
Consulting, Training & XML Development
9, impasse des Orteaux
75020 Paris
Tel : +33 9 52 475787
Fax : +33 1 4356 1746
http://www.innovimax.fr
RCS Paris 488.018.631
SARL au capital de 10.000 €

Received on Wednesday, 5 May 2010 17:29:41 UTC