This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 12622 - HTML5, http-equiv, cache-control
Summary: HTML5, http-equiv, cache-control
Status: RESOLVED WORKSFORME
Alias: None
Product: HTML Checker
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: Michael[tm] Smith
QA Contact: qa-dev tracking
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-06 10:34 UTC by Jernej
Modified: 2015-08-23 07:07 UTC (History)
1 user (show)

See Also:


Attachments

Description Jernej 2011-05-06 10:34:27 UTC
Html code:
<!DOCTYPE html>
<html><head>
<meta charset="UTF-8" />
<title>Hello world</title>
<meta http-equiv="cache-control" content="no-cache" />
</head>
<body>
hello world
</body></html>

Returns error:
Line 5, Column 54: Bad value cache-control for attribute http-equiv on element meta.

I think cache-control should be valid attribute: 
http://www.html-5.com/metatags

Regards,
Jernej
Comment 1 Michael[tm] Smith 2011-05-25 08:18:28 UTC
http-equiv="cache-control" is not valid according to the HTML5 spec:

http://dev.w3.org/html5/spec/semantics.html#attr-meta-http-equiv

so the validator behavior is correct here.

If you think http-equiv="cache-control" should be valid, please raise a bug against the HTML5 spec:

http://w3.org/brief/MjA2