Re: bug in html 5 validator ??

Michael A. Peters wrote:
> 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.
> 

Seems to be a general bug with direct input, validator found errors when 
using a check referer link that it did not find with direct input.

Received on Sunday, 20 December 2009 14:29:26 UTC