Why does html xmlns property affect errors
I have noticed that a page with an empty <html> tag which generates no errors when run through Validator Lite, suddenly generates loads of errors if the xmlns="http://www.w3.org/1999/xhtml" property is added to the <html> tag. These are mostly element end errors eg. <br> instead of <br/>, <meta ...> instead of <meta .../> etc.
My understanding is that "http://www.w3.org/1999/xhtml" is the default namespace, so that putting into the <html> tag explicitly should have no effect. I certainly wouldn't expect it to have any effect on the rendering of the page. Can someone explain why Validator starts finding errors when this property is put in.
I have been told that having an error-free site is important for search engine ratings, but are these reported errors really errors if I can make them "disappear" simply by removing the xmlns property?
Dave
My understanding is that "http://www.w3.org/1999/xhtml" is the default namespace, so that putting into the <html> tag explicitly should have no effect. I certainly wouldn't expect it to have any effect on the rendering of the page. Can someone explain why Validator starts finding errors when this property is put in.
I have been told that having an error-free site is important for search engine ratings, but are these reported errors really errors if I can make them "disappear" simply by removing the xmlns property?
Dave