bug in html 5 validator ??

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