W3C home > Mailing lists > Public > public-rdfa@w3.org > March 2011


From: Neubert Joachim <J.Neubert@zbw.eu>
Date: Tue, 29 Mar 2011 11:50:01 +0200
Message-ID: <3A59BB6451C972429019B12996F92DAD048FA037@frodo.zbw-nett.zbw-kiel.de>
To: <public-rdfa@w3.org>
Just spotted a minor issue in
http://www.w3.org/2010/02/rdfa/sources/rdfa-api/, Section 2.1


DOM Orthogonality


"the name of the method should be document.getElementsBySubject(), which
mirrors the document.getElementsById() functionality"


A DOM function document.getElementsById does not exist (as opposed to
document.getElementById), and wouldn't make sense, because ids are
required to be unique. document.elementsBySubject is intented to
retrieve a list, so maybe you want to use
document.getElementsByClassName as analogon.


Cheers, Joachim
Received on Tuesday, 29 March 2011 09:50:36 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:15:08 UTC