W3C home > Mailing lists > Public > www-validator@w3.org > August 2015

Re: Brandfield.nl horloges, sieraden, zonnebrillen

From: Michael[tm] Smith <mike@w3.org>
Date: Sat, 15 Aug 2015 09:49:19 +0900
To: Rutger Dijkstra <rdijkstra@brandfield.nl>
Cc: www-validator@w3.org
Message-ID: <20150815004919.GI30733@sideshowbarker.net>
Rutger Dijkstra <rdijkstra@brandfield.nl>, 2015-08-14 15:19 +0200:
> Archived-At: <http://www.w3.org/mid/CAGrgVHB+OJ2Ma=dZfc0dnEXeJYvDnC5m_bs6hk7w18B5eWHv_Q@mail.gmail.com>
> Hi W3.org,
> We've tried to
> ​validate http://www.brandfield.nl/ and the following issue was raised:
> ​Attribute *xmlns:fb* not allowed here.
> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://ogp.me/ns/fb#"
> xml:lang="nl" lang="nl" xmlns:og="http://opengraphprotocol.org/schema/"
> xmlns:fb="http://www.facebook.com/2008/fbml">
> ​We were wondering why this attribute is'nt allowed and what should be the
> correct position.

It’s not allowed by the HTML checker because the “xmlns:fb” attribute is
not part of the HTML language.

You can just omit the xmlns:fb and xmlns:og attributes and everything will
continue to work fine.

Or, if you want, you can instead use the `prefix` attribute in the `head`
element, like this:

  <head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb#">

Michael[tm] Smith https://people.w3.org/mike

Received on Saturday, 15 August 2015 00:49:46 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:18:13 UTC