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

Re: XHTML 2.0 User Agent Conformance

From: Lachlan Hunt <lhunt07@postoffice.csu.edu.au>
Date: Sun, 02 Nov 2003 00:20:58 +1100
Message-ID: <3FA3B33A.9030008@postoffice.csu.edu.au>
To: Ineke van der Maat <inekemaa@xs4all.nl>
Cc: www-html@w3.org

Ineke van der Maat wrote:

>Hello Lachlan,
>>For any other XML document with a DOCTYPE, UAs (incl. Netscape and IE)
>stop and
>display error messages for invalid documents; Why should this be any
> different for XHTML?<
>This is not different for xhtml, at least when you serve xhtml as
>application/xml+xhtml, application/xml or text/xml.
>(I had this last night testing a xhtml site served as
>application/xhtml+xml and with  a xml-stylesheet-proces instruction on
>the server before validating.)
>Ineke van der Maat
Thanks for the tip.  I just set up my Apache Tomcat 4.1 server (just 
running on localhost) to serve as application/xhtml+xml instead of 
text/html and got the same result if I put an error in the page.

Though, I still think it would be wise if UAs did the same thing when 
they encountered the future XHTML 2.0 DOCTYPE (or even XHTML 1.1).  That 
way, authors would see the error when editing the files locally without 
a server.
Received on Saturday, 1 November 2003 08:20:58 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:06:06 UTC