W3C home > Mailing lists > Public > www-validator@w3.org > October 2000

Re: Test case for XML-mode of HTML validator.

From: Gerald Oskoboiny <gerald@w3.org>
Date: Sat, 21 Oct 2000 04:08:44 -0400
To: Ian Graham <ian.graham@utoronto.ca>
Cc: www-validator@w3.org
Message-ID: <20001021040844.D20630@w3.org>
On Mon, Jun 19, 2000 at 11:09:00AM -0400, Ian Graham wrote:
> I''ve noticed the following behavior (i.e., a bug) in the
> validator -- I also apologize if this has been discussed before,
> but I could find no mention of this particular diagnosis in the
> list archives.
> 
> The bug/behavior is as follows:
>    
>   * XHTML files seem to validate (mostly) when they have a 
>     *.html filename extension and are served out as text/html.
> 
>   * Exactly the same XHTML files do not validate when they have a
>     *.xml filename extension and are served out as text/xml.
> 
> I have a testcase that illustrate this -- two identical files, served
> out as text/xml or text/html:
> 
> http://www.java.utoronto.ca/~igraham/Tests/minimal.xml
> http://www.java.utoronto.ca/~igraham/Tests/minimal.html
> 
> The second validates, and the first does not. This might make a good test
> case for an 'XML-mode' validation (if such a thing exists in the validator
> tool). 

That's fixed now, thanks for the clear bug report.

-- 
Gerald Oskoboiny       <gerald@w3.org>  +1 613 261 6630
System Administrator   http://www.w3.org/People/Gerald/
World Wide Web Consortium (W3C)      http://www.w3.org/
Received on Saturday, 21 October 2000 04:08:50 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:13:54 GMT