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

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 UTC