NOTE: The current preferred location for bug reports is the GitHub issue tracker.
Bug 669 - add itemscope and itemtype attributes so that Web Applications 1.0 will validate
add itemscope and itemtype attributes so that Web Applications 1.0 will validate
Status: RESOLVED FIXED
Product: Validator.nu
Classification: Unclassified
Component: HTML5 schema
HEAD
All All
: P2 normal
Assigned To: Michael[tm] Smith
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-10-22 12:16 CEST by Michael[tm] Smith
Modified: 2009-10-23 06:02 CEST (History)
1 user (show)

See Also:


Attachments
initial patch (1.13 KB, patch)
2009-10-22 12:32 CEST, Michael[tm] Smith
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael[tm] Smith 2009-10-22 12:16:41 CEST

    
Comment 1 Michael[tm] Smith 2009-10-22 12:32:55 CEST
Created attachment 121 [details]
initial patch

This patch just adds the attributes but does not capture the following constraints:

- The itemscope attribute must not be specified on itemref elements.
- The itemtype attribute must not be specified on elements that do not have an itemscope attribute specified.
- The itemtype attribute, if specified, must have a value that is a valid URL that is an absolute URL for which the string "http://www.w3.org/1999/xhtml/microdata#" is not a prefix match.

I'll add those in a separate patch, to follow.
Comment 2 Michael[tm] Smith 2009-10-22 12:35:06 CEST
syntax 473
http://whattf.browse.cvsdude.com/syntax?view=rev&revision=473
Comment 3 Michael[tm] Smith 2009-10-23 06:02:06 CEST
I opened up bug 671 for the datatype constraints