<?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>14114</bug_id>
          
          <creation_ts>2011-09-12 08:30:09 +0000</creation_ts>
          <short_desc>HTML+RDFa should extend flow content to include link and meta elements</short_desc>
          <delta_ts>2013-01-21 04:09:19 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>HTML+RDFa (editor: Manu Sporny)</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</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="Jeni Tennison">jeni</reporter>
          <assigned_to name="Manu Sporny">msporny</assigned_to>
          <cc>ian</cc>
    
    <cc>jeni</cc>
    
    <cc>mike</cc>
    
    <cc>msporny</cc>
    
    <cc>philipj</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
    
    <cc>xn--mlform-iua</cc>
          
          <qa_contact>public-rdfa-wg</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>56656</commentid>
    <comment_count>0</comment_count>
    <who name="Jeni Tennison">jeni</who>
    <bug_when>2011-09-12 08:30:09 +0000</bug_when>
    <thetext>To make it easier to convert microdata to RDFa and vice versa, &lt;link&gt; and &lt;meta&gt; elements should be permitted within flow content and phrasing content when they have RDFa attributes.

I&apos;d suggest using wording in HTML+RDFa 1.1 similar to that used within Section 4.1 (Content models) of the current HTML Microdata Editors Draft [2] which states:

  If the itemprop attribute is present on link or meta, they are flow 
  content and phrasing content. The link and meta elements may be used 
  where phrasing content is expected if the itemprop attribute is present.

This kind of wording might fit nicely within Section 4 (Extensions to the HTML5 Syntax) [3] of the current HTML+RDFa 1.1 Editors Draft.

The RDFWA WG supports this change [1].

Jeni

[1]: http://lists.w3.org/Archives/Public/public-rdfa-wg/2011Sep/0038.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56854</commentid>
    <comment_count>1</comment_count>
    <who name="Leif Halvard Silli">xn--mlform-iua</who>
    <bug_when>2011-09-15 14:27:12 +0000</bug_when>
    <thetext>Some resent messages to www-validator@ implicitly asking for HTML+RDfa features:

@propery - http://lists.w3.org/Archives/Public/www-validator/2011Sep/0012.html
xmlns:fb - http://lists.w3.org/Archives/Public/www-validator/2011Sep/0003.html
DC in HTML5 - http://www.w3.org/mid/op.v0ict3p4zrt88r@jchwork.home

And more in older messages.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57994</commentid>
    <comment_count>2</comment_count>
    <who name="Manu Sporny">msporny</who>
    <bug_when>2011-10-09 21:48:14 +0000</bug_when>
    <thetext>If we&apos;re going to support LINK and META in flow content like the Microdata spec does, which is fine with the RDF Web Apps WG, we might as well support it in the main HTML5 specification and remove the language from the HTML5 Microdata spec.

Ian, what do you think about doing this?

Also, is LINK and META being relocated into HEAD no longer a concern in HTML5? I know that this was a concern in older browsers when RDFa was first being introduced, which is why this feature never made it into the browsers. Does the HTML5 spec now prohibit the movement of LINK and META into HEAD?

Ian, do you want me to create a bug for the main HTML5 spec that requests that LINK and META are allowed in flow content? That way, both the RDFa and Microdata specs don&apos;t need the same language introduced into each spec.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61068</commentid>
    <comment_count>3</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-12-07 00:14:32 +0000</bug_when>
    <thetext>The separation of microdata from HTML is an artificial editorial conceit for the W3C specification. As far as I&apos;m concerned, the conformance clauses regarding &lt;link&gt; and &lt;meta&gt; as flow content are already in the HTML standard. However, even in this view, &lt;link&gt; and &lt;meta&gt; aren&apos;t just allowed in flow content, they are only allowed in flow content if they are being used for microdata.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62163</commentid>
    <comment_count>4</comment_count>
    <who name="Manu Sporny">msporny</who>
    <bug_when>2011-12-30 17:36:44 +0000</bug_when>
    <thetext>(In reply to comment #3)
&gt; The separation of microdata from HTML is an artificial editorial conceit for
&gt; the W3C specification. As far as I&apos;m concerned, the conformance clauses
&gt; regarding &lt;link&gt; and &lt;meta&gt; as flow content are already in the HTML standard.

In the WHAT WG version, yes - but only when they contain Microdata attributes. In the W3C version, no. We&apos;re discussing the W3C version of the spec.

&gt; However, even in this view, &lt;link&gt; and &lt;meta&gt; aren&apos;t just allowed in flow
&gt; content, they are only allowed in flow content if they are being used for
&gt; microdata.

There are two approaches that we could take to resolve this issue.

1) The HTML5 specification could say that &lt;meta&gt; and &lt;link&gt; are allowed in flow content when expressing invisible metadata. The major down-side I see in this approach is that it makes &lt;meta&gt; and &lt;link&gt; not really that different from &lt;span&gt;, other than making them slightly more accurate semantic tags.

2) The HTML+RDFa spec could say that &lt;meta&gt; and &lt;link&gt; are allowed in flow/phrasing content as long as they contain certain RDFa attributes. This mirrors what the split-out W3C Microdata specification says and is probably the more acceptable path forward, from Ian&apos;s perspective.

I&apos;m going to implement #2, understanding that we may have another issue raised at 2nd LC noting that the W3C Microdata and HTML+RDFa specs effectively state the same thing and that we may want to make the text more generalized and do #1, instead.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62169</commentid>
    <comment_count>5</comment_count>
    <who name="Manu Sporny">msporny</who>
    <bug_when>2011-12-31 03:20:49 +0000</bug_when>
    <thetext>Fixed in latest Editor&apos;s Draft:

http://dev.w3.org/html5/rdfa/

Added this language:

&quot;&quot;&quot;
If any RDFa attribute is present on the link or meta elements, they must be considered flow and phrasing content if used outside of the head of the document.
&quot;&quot;&quot;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>