Inconsistency in Web SQL Database Spec

Hello,

I noticed a slight inconsistency in the Web SQL Database Spec on
http://dev.w3.org/html5/webdatabase/Overview.html (version Feb 04, 2010)

The example in section 1 does not match to the API description in the
following sections.
E.g. consider the lines

db.readTransaction(function (t) {
    t.executeSql('SELECT COUNT(*) AS c FROM docids', [], function (t, r) {
      span.textContent = r.rows[0].c;

However, in Section 4.5 the API specifies that the rows are addressed via

r.rows.item(i)

Best regards,
Eric Westenberger

Received on Tuesday, 9 February 2010 14:57:20 UTC