W3C home > Mailing lists > Public > public-html@w3.org > May 2011

[Bug 12809] New: Invalid examples using link and meta elements in the body

From: <bugzilla@jessica.w3.org>
Date: Sun, 29 May 2011 10:50:35 +0000
To: public-html@w3.org
Message-ID: <bug-12809-2495@http.www.w3.org/Bugs/Public/>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=12809

           Summary: Invalid examples using link and meta elements in the
                    body
           Product: HTML WG
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML Microdata (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: pmika@yahoo-inc.com
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org,
                    public-html@w3.org


According to the HMTL5 LC document [1], the link and meta tags may not appear
in the body, and further require a rel attribute (for link) and one of name,
http-equiv, and charset (for meta). 

There are several examples in the HTML Microdata document where this is
violated, e.g. 

<span itemscope><meta itemprop="name" content="The Castle"></span>

in Section 2.2 shows a meta element in the body which does not have name,
http-equiv, or charset.

and further below in Section 5.2.1 appears a link element in the body and
without a rel:

 <link itemprop="http://purl.org/dc/terms/type"
href="http://books.example.com/product-types/BOOK">

There are possibly other places where the document needs to be revised, since
these mistakes seem to be consistent and possibly reflecting an earlier version
of the HTML5 draft where this was allowed.

[1] http://www.w3.org/TR/2011/WD-html5-20110525/

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Received on Sunday, 29 May 2011 10:50:37 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:17:32 GMT