W3C home > Mailing lists > Public > www-validator@w3.org > January 2003

[www-validator] <none>

From: Brinkman, Dave <Dave.Brinkman@stockport.ac.uk>
Date: Wed, 29 Jan 2003 16:34:14 -0000
Message-ID: <D9C0EC07BCBB004EBB30635916592B07168535@maildata1.mail.stockport.ac.uk>
To: <www-validator@w3.org>
Hi

I have 3 problems you could help me with

Problem 1
At the url below there is an example XHTML document with the XML declaration is included.
http://www.w3.org/TR/xhtml1/

This is the example:-
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>Virtual Library</title> </head> <body> <p>Moved to <a href="http://example.org/">example.org</a>.</p> </body> </html>

Although it validates the validator still says 

"The HTTP Content-Type header sent by your web browser (unknown) did not contain a "charset" parameter, but the Content-Type was one of the XML text/* sub-types (text/xml). "  
  even with that encoding="UTF-8" 
With the previous validator it worked.

With the XML declaration included the validator also ignores any meta tag e.g. 
     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

    in any web page and still comes up with 

"The HTTP Content-Type header sent by.................. "

With the previous validator it worked.

I am therefore having to delete all instances of   <?xml version="1.0" encoding="UTF-8"?>  to get the coding recognised.

Problem 2

This validator is throwing out as invalid any JavaScript comparisons with < as if it needed &lt; which incorrect since  the validator should not force the use of html comments or xml  CDATA within JavaScript.

Problem 3

This validator is throwing out as invalid any 'get'  data within an href="url?... " that has an ampersand in. Yes I know &amp; works but it is already within quotes and should be ignored as CDATA.


These seem to be errors rather than reinterpretations.

Awaiting your reply
Regards

Dave Brinkman


D S Brinkman
Dept of I C T
Stockport College of F & H E
Wellington Road South
Stockport
SK1 3UQ

Tel: 0161 958 3621
Fax: 0161 958 3603
Received on Wednesday, 29 January 2003 12:28:44 GMT

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