This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 13863 - Why is itemid a valid URL potentially surrounded by spaces?
Summary: Why is itemid a valid URL potentially surrounded by spaces?
Status: RESOLVED INVALID
Alias: None
Product: HTML WG
Classification: Unclassified
Component: HTML Microdata (editor: Ian Hickson) (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-22 15:52 UTC by contributor
Modified: 2011-08-25 19:11 UTC (History)
5 users (show)

See Also:


Attachments

Description contributor 2011-08-22 15:52:56 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/microdata.html
Multipage: http://www.whatwg.org/C#attr-itemid
Complete: http://www.whatwg.org/c#attr-itemid

Comment:
Why is itemid a valid URL potentially surrounded by spaces?

Posted from: 81.234.240.242
User agent: Opera/9.80 (X11; Linux x86_64; U; Edition Next; en) Presto/2.9.186 Version/12.00
Comment 1 Philip Jägenstedt 2011-08-22 15:56:13 UTC
Something that caught my attention while reading http://www.jenitennison.com/blog/node/164 - "The itemid cant just be empty: the . is the shortest URI you can use to reference the page itself."

I thought that itemid="" would mean the same thing, but it appears that itemId is resolved differently from most other URL attributes because it is a "valid URL potentially surrounded by spaces".

Is there a reason why itemid is not just a "valid URL" like most other URL properties?
Comment 2 Ian 'Hixie' Hickson 2011-08-22 21:06:33 UTC
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Rejected
Change Description: no spec change
Rationale: It isn't resolved any differently from others as far as I can tell.
Comment 3 Philip Jägenstedt 2011-08-23 11:28:27 UTC
That could be an Opera bug, but the main question is: Is there a reason why itemid is not just a "valid URL" like most other URL properties?

"valid URL potentially surrounded by spaces" seems to be something odd needed for legacy compat, not something to deliberately introduce. If it *is* deliberate, why is itemtype not the same?
Comment 4 Philip Jägenstedt 2011-08-25 19:11:43 UTC
This was changed in http://html5.org/tools/web-apps-tracker?from=4991&to=4992 to resolve http://www.w3.org/Bugs/Public/show_bug.cgi?id=9354

Given that, things seem to make a bit more sense. itemtype is relfected as a string, while itemid is reflected as a URL and resolved. Closing as invalid again.