W3C home > Mailing lists > Public > www-html@w3.org > October 2003

XHTML 2.0 User Agent Conformance

From: Lachlan Hunt <lhunt07@postoffice.csu.edu.au>
Date: Fri, 31 Oct 2003 15:11:56 +1100
Message-ID: <3FA1E10C.1060408@postoffice.csu.edu.au>
To: www-html@w3.org

Hi,
  Due to the huge problem of authors marking up pages with invalid 
(X)HTML in the past, because of the attitude: 'if it displays well, I've 
written it well', I think it would be wise to state in the conformance 
section of XHTML2 that user agents must process a page as strictly as a 
general XML document.
  ie. displaying an error message if the markup is invalid, rather than 
doing a 'best guess' render of the page, or at the very least, place a 
prominent error message above the rendered page.

  I believe this would start to make authors who wish to start taking 
advantage of XHTML2, also take notice of and conform to the 
specifications.  Also, it might start making browser vendors ensure that 
they, themselves, conform to the specs, as so many are guilty of not 
doing in the past.

  IMO it would also be wise if user agents, when processing previous 
versions of (X)HTML, displayed an error (above/below the page content) 
if any of the *new XHTML2* elements/attributes were encountered (yet 
still doing a 'best guess' render as is currently done).  This would 
help to solve to problem of many authors mix'n'match tendencies.  Though 
care would need to be taken with vendors doing this, as I'm sure there 
would be a lot of issues encountered with such a drastic change.

What do you think?

CYA
...Lachy
Received on Thursday, 30 October 2003 23:14:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:58 GMT