W3C home > Mailing lists > Public > www-validator@w3.org > December 2009

bug in html 5 validator ??

From: Michael A. Peters <mpeters@mac.com>
Date: Sun, 20 Dec 2009 05:42:43 -0800
Message-id: <4B2E29D3.5010505@mac.com>
To: www-validator@w3.org
I found a bug in one of my pages, I had a div and nav element with the 
same id attribute.

Validator validated it as html5

Method of checking was direct input.
Content was xhtml and included the

<?xml version="1.0" encoding="UTF-8"?>

at top of document, making it clear it was XML.

Since XML (and I believe HTML) does not allow documents to have more 
than 1 element with the same id tag, the validator should have caught it.
Received on Sunday, 20 December 2009 13:43:21 UTC

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