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

[Bug 924] New: Html comment before <html> tag

From: <bugzilla@wiggum.w3.org>
Date: Mon, 25 Oct 2004 15:12:05 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1CM6Vx-0001el-Sp@wiggum.w3.org>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=924

           Summary: Html comment before <html> tag
           Product: Validator
           Version: 0.6.7
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: check
        AssignedTo: link@pobox.com
        ReportedBy: sudati@ksolutions.it
         QAContact: www-validator-cvs@w3.org


We are developing on SABA platform and we have extended comments before <html>
tag. We suppose that there is a limited buffer in validator which stores these
comments.
I send you two code cases the first is ok and doesn't generate validator
trouble, the secod case is ko. The only difference between the two cases are the
comment length.

First case (ok):

<!-- Page name: /ems/knowres/corsi_areeTematiche.saba aaaaaaaaaa aaaaaaaaa
aaaaaaaaaa aaaaaaaaa  -->
<!-- Page name: /ems/knowres/corsi_areeTematiche.saba aaaaaaaaaaaaaaaaaaaaaaa  
            -->
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
	<title>Trio - Catalogo Corsi di Formazione a Distanza Gratuiti</title>
	<meta name="Description" content="Nel catalogo TRIO dei corsi di autoformazione
gratuiti trovi corsi di restauro metalli e tessuti, agricoltura biologica e
allevamento, impiantistica e conduzione macchine, sartoria, apprendistato e
obbligo formativo, inglese, word e informatica per imparare a distanza la
materia di tuo interesse.">
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<link rel="stylesheet" href="/wProgettoTrio/css/stili_nuovi.css" type="text/css">
<BODY>
</BODY>
</HTML>


Second case (ko):

<!-- Page name: /ems/knowres/corsi_areeTematiche.saba aaaaaaaaaa aaaaaaaaa
aaaaaaaaaa aaaaaaaaa  -->
<!-- Page name: /ems/knowres/corsi_areeTematiche.saba aaaaaaaaaaaaaaaaaaaaaaa  
                 -->
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
	<title>Trio - Catalogo Corsi di Formazione a Distanza Gratuiti</title>
	<meta name="Description" content="Nel catalogo TRIO dei corsi di autoformazione
gratuiti trovi corsi di restauro metalli e tessuti, agricoltura biologica e
allevamento, impiantistica e conduzione macchine, sartoria, apprendistato e
obbligo formativo, inglese, word e informatica per imparare a distanza la
materia di tuo interesse.">
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<link rel="stylesheet" href="/wProgettoTrio/css/stili_nuovi.css" type="text/css">
<BODY>
</BODY>
</HTML>

------------------------------------------------------------------------------
In this second case the W3C on line Validator result is this error:

Sorry, I am unable to validate this document because its content type is
text/plain, which is not currently supported by this service. 

The Content-Type field is sent by your web server (or web browser if you use the
file upload interface) and depends on its configuration. Commonly, web servers
will have a mapping of filename extensions (such as ".html") to MIME
Content-Type values (such as text/html). 

That you recieved this message can mean that your server is not configured
correctly, that your file does not have the correct filename extension, or that
you are attempting to validate a file type that we do not support yet. In the
latter case you should let us know that you need us to support that content type
(please include all relevant details, including the URL to the standards
document defining the content type) using the instructions on the Feedback Page. 

------------------------------------------------------------------------------

This bug is critical for us because we can't validate our html code.
Best Regards.

Susanna Sudati



------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
Received on Monday, 25 October 2004 15:12:06 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:02:08 UTC