W3C home > Mailing lists > Public > public-html@w3.org > February 2012

[Bug 15913] New: HTML+RDFa adds href, src, rev and rel attributes to all elements

From: <bugzilla@jessica.w3.org>
Date: Mon, 06 Feb 2012 16:06:56 +0000
To: public-html@w3.org
Message-ID: <bug-15913-2495@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=15913

           Summary: HTML+RDFa adds href, src, rev and rel attributes to
                    all elements
           Product: HTML WG
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML+RDFa (editor: Manu Sporny)
        AssignedTo: msporny@digitalbazaar.com
        ReportedBy: hsivonen@iki.fi
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org,
                    public-html@w3.org, msporny@digitalbazaar.com


http://dev.w3.org/html5/rdfa/#extensions-to-the-html5-syntax says "If HTML+RDFa
document conformance is desired, all RDFa attributes and valid values
(including CURIEs), as listed in RDFa Core 1.1, Section 2.1: The RDFa
Attributes, must be allowed and validate as conforming when used in an HTML4,
HTML5 or XHTML5 document."

It doesn't really say which elements these attributes are added to. The failure
to say which elements the attributes are added to is a bug, but knowing the
nature of RDFa as a general overlay, it's safe to guess that the above-quoted
text tries to add attributes to all elements.

The section referred to, http://www.w3.org/TR/rdfa-core/#rdfa-attributes ,
doesn't contain proper normative statements defining "RDFa attributes and valid
values". However, it says "For a complete list of RDFa attribute names and
syntax, see Attributes and Syntax."

That section (http://www.w3.org/TR/rdfa-core/#s_syntax) lists href, src, rel
and rev.

One has to conclude that HTML+RDFa adds href, src, rel and rev to all elements.
I think it's a bad idea to add attributes that look like HTML attributes but
that only have their RDFa functionality--not the usual HTML functionality of
the attributes of the same names--to elements, because this is confusing.

Please don't add attributes that already have a meaning in HTML to HTML
elements that don't already have those attributes in unextended HTML.

-- 
Configure bugmail: https://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 Tuesday, 7 February 2012 03:24:09 GMT

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