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

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 the QA contact for the bug.

Received on Monday, 6 February 2012 16:06:50 UTC