Re: RDFa-API WD

On 03/29/2011 05:50 AM, Neubert Joachim wrote:
> 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.

Good eyes Joachim! Your fix has been applied to the latest Editors Draft
- it'll go out in the next publishing cycle:

http://www.w3.org/2010/02/rdfa/sources/rdfa-api/Overview-src.html

-- manu

-- 
Manu Sporny (skype: msporny, twitter: manusporny)
President/CEO - Digital Bazaar, Inc.
blog: The PaySwarm Vocabulary
http://digitalbazaar.com/2011/03/31/payswarm-vocab/

Received on Tuesday, 5 April 2011 01:49:41 UTC