- From: Neubert Joachim <J.Neubert@zbw.eu>
- Date: Tue, 29 Mar 2011 11:50:01 +0200
- To: <public-rdfa@w3.org>
Received on Tuesday, 29 March 2011 09:50:36 UTC
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