creativecommons.org icon indicating copy to clipboard operation
creativecommons.org copied to clipboard

[Bug] Proposed CC0 1.1 contains invalid encoding declaration

Open Jayman2000 opened this issue 4 years ago • 1 comments
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

  1. Get a copy of the proposed CC0 1.1.
  2. Change its file extension to .xht or .xhtml.
  3. Try validating it.

Expectation

The page validates successfully.

Resolution

  • [x] I would be interested in resolving this bug.

Jayman2000 avatar Aug 01 '21 20:08 Jayman2000

I would be interested in resolving this bug.

SamarthShukla17 avatar Mar 04 '24 14:03 SamarthShukla17