Skip to content

[Bug] Proposed CC0 1.1 contains invalid encoding declaration #1213

@Jayman2000

Description

@Jayman2000

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

  • I would be interested in resolving this bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions