<?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>16342</bug_id>
          
          <creation_ts>2012-03-12 23:45:45 +0000</creation_ts>
          <short_desc>itemprop not allowed on XHTML</short_desc>
          <delta_ts>2015-08-23 07:07:35 +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>WORKSFORME</resolution>
          
          
          <bug_file_loc></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="Roman Romanov">rroman4work</reporter>
          <assigned_to name="Michael[tm] Smith">mike+validator</assigned_to>
          <cc>mike</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>65422</commentid>
    <comment_count>0</comment_count>
    <who name="Roman Romanov">rroman4work</who>
    <bug_when>2012-03-12 23:45:45 +0000</bug_when>
    <thetext>I try to use XHTML5 with microdata and have error:
&quot;Attribute itemprop not allowed on XHTML element meta at this point.&quot;
Happend on:
&lt;!DOCTYPE html&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;
 itemscope=&quot;itemscope&quot;
 itemtype=&quot;http://schema.org/Person&quot;&gt;
  &lt;head&gt;
&lt;meta name=&quot;author&quot; itemprop=&quot;name&quot; content=&quot;Some Name&quot; /&gt;
&lt;meta name=&quot;description&quot; itemprop=&quot;description&quot; content=&quot;Some Description&quot; /&gt;
But specification &quot;A vocabulary and associated APIs for HTML and XHTML&quot;(http://www.w3.org/TR/html5/microdata.html#names:-the-itemprop-attribute)
say:
&quot;Every HTML element may have an itemprop attribute specified ...&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65438</commentid>
    <comment_count>1</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2012-03-13 05:46:34 +0000</bug_when>
    <thetext>The microdata spec defines some further restrictions -

http://dev.w3.org/html5/md/#content-models

&quot;If a meta element has an itemprop attribute, the name, http-equiv, and charset attributes must be omitted, and the content attribute must be present.&quot;

So you need to omit the name attribute</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>