<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>14020</bug_id>
          
          <creation_ts>2011-09-04 01:27:53 +0000</creation_ts>
          <short_desc>HTML5+Microdata documents are not conforming HTML5 documents</short_desc>
          <delta_ts>2015-08-23 07:07:05 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML Checker</product>
          <component>General</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://dev.w3.org/html5/spec/infrastructure#other-applicable-specifications</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Leif Halvard Silli">xn--mlform-iua</reporter>
          <assigned_to name="Michael[tm] Smith">mike</assigned_to>
          <cc>cpigat242</cc>
    
    <cc>julian.reschke</cc>
    
    <cc>lrosenth</cc>
    
    <cc>public-html-admin</cc>
          
          <qa_contact name="qa-dev tracking">www-validator-cvs</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>56260</commentid>
    <comment_count>0</comment_count>
    <who name="Leif Halvard Silli">xn--mlform-iua</who>
    <bug_when>2011-09-04 01:27:53 +0000</bug_when>
    <thetext>BACKGROUND: 
   The W3C Validator checks for &apos;Conforming HTML5 documents&quot; [0a]. Whereas Validator.nu checks for  &apos;Conforming documents&apos; per the Living Standard [0b]. 

ISSUE: 
   The W3 validator&apos;s HTML5 conformance checker service currently does not discern between conforming HTML5 documents and conforming HTML5+Microdata  documents - for both of them, the validator emits the same stamp:

   &quot;This document was successfully checked as HTML5!&quot;

   This contradicts with the outcome of the HTMLWG&apos;s ISSUE-140 [1][2], after which HTML5&apos; Extensibility section (see especially &apos;other applicable specifications&apos; [3] and onwards]) makes it clear that a document which implements an applicable spec with HTML5-different semantics, is not a conforming HTML5 document. Which is exactly the situation we have in the case of HTML5+Microdata: When Microdata syntax is applied, a group of HTML5-invalid and HTML5-semantic-free attributes are changed into HTML5+Microdata-valid and HTML5+Microdata-semantic attributes.

   It is not against the HTML5 spec to perform conformance checking of an HTML5+Microdata profile - on the contrary. But it is against HTML5 for the validator to pretend as if documents augmented with Microdata syntax have been &quot;successfully checked as HTML5&quot; - they have not. It would however be in line with the spec to state that they have been &quot;successfully checked as HTML5+Microdata&quot;.

   The W3 Validator should be brought in line with the HTML5 spec ASAP. The borders of the spec  - and its extensibility options, are two sides of the same coin. 

    I suppose that Validator.w3.org as a minimum must offer pure HTML5 conformance checking. And thus that HTML5+Microdata checking would be an additional conformance checking service. Howeveer, this bug can formally be solved in 2  ways: 

1. by starting to stamp HTML+Microdata documents as invalid.
    (This option also cover the possibility to start to offer separate
    conformance checking for HTML5 docs as well as 
    HTML5+Microdata docs.)
2. by halting to offer HTML5 conforance checking - and only offer
    HTML5+Microdata checking

The 1st option seems like the logical one. Given that there is an effort to join RDFa and Microdata [4], it might also - for the time being, be best to stamp Microdata as invalid instead of creating a new validation profile. [Which alludes to a third way to solve this bug: that  microdata/RDFa becomes part of HTML5.]

[0a] http://dev.w3.org/html5/spec/infrastructure#conforming-html5-documents
[0b] http://www.whatwg.org/specs/web-apps/current-work/multipage/infrastructure.html#conforming-documents
[1] http://lists.w3.org/Archives/Public/public-html/2011Mar/0574#start574
[2] http://www.w3.org/Bugs/Public/show_bug.cgi?id=9178
[3] http://dev.w3.org/html5/spec/infrastructure#other-applicable-specifications
[4] http://www.w3.org/mid/4E04A795.5020609@arcanedomain.com</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63885</commentid>
    <comment_count>1</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2012-02-08 12:48:42 +0000</bug_when>
    <thetext>The Nu Markup Validator default checker supports both Microdata and RDFa and also has an option for HTML5-only checking, for those who want to opt-out of Microdata and RDFa altogether.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>