W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > June 2011

[Bug 13007] should (resolved) itemid be unique within a document?

From: <bugzilla@jessica.w3.org>
Date: Tue, 21 Jun 2011 13:22:11 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1QZ0uB-0002ki-Py@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=13007

Philip Jägenstedt <philipj@opera.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |philipj@opera.com

--- Comment #1 from Philip Jägenstedt <philipj@opera.com> 2011-06-21 13:22:11 UTC ---
Regarding an example from
https://twitter.com/#!/manusporny/status/82925452498452480

<span itemscope itemtype="http://schema.org/WebPage" itemID="#foo">
   <span itemprop="name">My Website and Blog</span>
</span>

<span itemscope itemtype="http://schema.org/BlogPost" itemID="#foo"> 
   <a itemprop="url" href="http://example.org/post-4">permalink</span>
</span>

The spec talks about itemid as a global identifier, but does not require that
the resolved itemid be unique within a document. Of course it should be
globally unique, but all a validator can usefully check is that it's unique
within the document.

Perhaps wording similar to what's in
http://www.whatwg.org/specs/web-apps/current-work/multipage/elements.html#concept-id
would be appropriate?

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Tuesday, 21 June 2011 13:22:17 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 21 June 2011 13:22:17 GMT