Re: [ANN] W3C Markup Validator 0.8.0, Beta 2

On Jun 21, 2007, at 14:33 , olivier Thereaux wrote:

> In XML mode, it would see that the root is not <html>, and thus  
> consider it well-formed XML, end of the story.
> In SGML mode
>   -> if the root element is <html> it would fall back on HTML 4.01  
> Transitional, and shoot a warning about that.
>   -> otherwise... nothing happens. I think this is the bug we're  
> seeing here.
>   I'm adding a warning saying "no doctype found,and unknown root  
> element. Aborting validation". Now for the tricky question: should  
> it say "invalid (no doctype found)"? Validity doesn't really apply  
> here...

e.g
http://qa-dev.w3.org/wmvs/HEAD/check?fragment=%3Cfoo%3E
http://qa-dev.w3.org/wmvs/HEAD/check?fragment=%3Cfoo%3E;debug=1

-- 
olivier

Received on Thursday, 21 June 2007 19:42:21 UTC