This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 708 - invalid page - validates
Summary: invalid page - validates
Status: RESOLVED INVALID
Alias: None
Product: Validator
Classification: Unclassified
Component: check (show other bugs)
Version: 0.6.5
Hardware: Other other
: P2 major
Target Milestone: ---
Assignee: Terje Bless
QA Contact:
URL: http://validator.w3.org
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-09 20:35 UTC by Rebecca Louise Conroy
Modified: 2005-04-21 03:22 UTC (History)
0 users

See Also:


Attachments
sample invalid file (234 bytes, text/html)
2004-05-09 20:42 UTC, Rebecca Louise Conroy
Details

Description Rebecca Louise Conroy 2004-05-09 20:35:45 UTC
A simple invalid page - is coming back as being valid!
<!-- START OF FILE -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 
4.01 //EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
  <meta http-equiv="content-type" content ="text/css;charset=iso-8859-1">
  <title>title</title>
</head>
<body>
<!-- END OF FILE -->
Comment 1 Rebecca Louise Conroy 2004-05-09 20:42:35 UTC
Created attachment 363 [details]
sample invalid file

When this sample file is validated - it returns that it IS valid - when it
clearly isn't.
The validator is failing to validate correctly (since v0.6.5) - In addition it
is trying to validate as html transitional (see bug #705 for this).
Comment 2 Olivier Thereaux 2005-04-21 03:22:11 UTC
(In reply to comment #1)
Note that your sample does not use an exactly proper doctype (the FPI has a space where, I believe, it 
should not). 

Both production validator and development version complain about the unfinished body element.