[RDFa] issues meta/link outside of head and browsers implementation

Hi,

Using the meta and link element outside of head might be a problem,  
it is something which has to be discussed with XHTML 2.0 WG if/when  
restarted. maybe something for HTML CG.

I'm talking for example about this kind of constructs where link or  
meta are outside of head element

[[[
<div about="photo1.jpg">
   <span class="attribution-line"> This photo was taken by
      <meta property="dc:creator">Mark Birbeck</meta>
   </span>.
</div>
]]] -- RDFa Syntax
http://www.w3.org/2006/07/SWD/RDFa/syntax/#id0x170d0cc0
Wed, 31 Dec 1969 15:00:00 GMT

I have been told on the whatwg mailing-list, that browsers (parsing  
tag soup) put back the link and meta in the head element when parsing  
the document. It might be a trouble because it is likely that  
browsers will read XHTML 2.0 documents as tag soup if they do not  
implement XHTML 2.0 or serve as text/html.

one possibility would be to create or use another element for this.  
For example, data

<div about="photo1.jpg">
   <span class="attribution-line"> This photo was taken by
      <data property="dc:creator">Mark Birbeck</data>
   </span>.


-- 
Karl Dubost - http://www.w3.org/People/karl/
W3C Conformance Manager, QA Activity Lead
   QA Weblog - http://www.w3.org/QA/
      *** Be Strict To Be Cool ***

Received on Tuesday, 13 February 2007 13:47:21 UTC