Shlomi Fish
Shlomi Fish

Reputation: 4510

Get rid of “Bad value X-XRDS-Location for attribute http-equiv on XHTML element meta.” in XHTML5 validation

I have an XHTML 5 page served with application/xhtml+xml which I want to get to validate, but the validator gives me trouble in its validation results:

Line 17, Column 89: Bad value X-XRDS-Location for attribute http-equiv on XHTML element

The line in question is:

<meta http-equiv="X-XRDS-Location" content="http://shlomif.livejournal.com/data/yadis" />

How can I fix this problem? Was an arbitrary "http-equiv" value removed from the XHTML 5 specification?

Upvotes: 0

Views: 632

Answers (2)

unor
unor

Reputation: 96607

In (X)HTML5, you may only use http-equiv values that are

If you think X-XRDS-Location would be a useful value, you’d have to register it.

Upvotes: 1

bwoebi
bwoebi

Reputation: 23777

http://www.w3.org/TR/html-markup/meta.html says:

Changes in HTML5

Although previous versions of HTML allowed the http-equiv attribute on the meta element to have any number of possible values, the http-equiv attribute is now restricted to only the specific values described in this reference. Also, the new charset attribute is now allowed.

So, yes, it is not allowed anymore.

Upvotes: 4

Related Questions