creativecommons.org
creativecommons.org copied to clipboard
[Bug] Proposed CC0 1.1 contains invalid encoding declaration
trafficstars
Description
According to the HTML Standard, a meta element can have its http-equiv attribute set to content-type. In this situation, the http-equiv attribute is in the Encoding declaration state. The proposed CC0 1.1 has an http-equiv attribute that’s in the Encoding declaration state.
<meta http-equiv="content-type" content=
"text/html; charset=utf-8" />
According to the HTML Standard, “The Encoding declaration state may be used in HTML documents, but elements with an http-equiv attribute in that state must not be used in XML documents.” The proposed CC0 1.1 is an XML document.
Reproduction
- Get a copy of the proposed CC0 1.1.
- Change its file extension to
.xhtor.xhtml. - Try validating it.
Expectation
The page validates successfully.
Resolution
- [x] I would be interested in resolving this bug.
I would be interested in resolving this bug.