- From: Allan Smith <webmanager@telfordsteamrailway.co.uk>
- Date: Tue, 16 Aug 2005 07:40:25 +0100
- To: <www-validator@w3.org>
- Message-ID: <000001c5a22d$622b9aa0$0600000a@atlantis>
I use Topstyle 3 for development work.
It has a built in link
http://validator.w3.org/check
which I have used and have worked on the code to make sure it validated
I have just come back to do some development work, the first since the 0.7.0
Came into use. Now the code does not validate via the topstyle link
Does the link need changing??
The code still validates if I use upload to validate a local copy.
The error I get is a little strange
I quote
Jump To:
* Results <http://validator.w3.org/#result#result>
Contradictory Parse Modes Detected!
The MIME Media Type () indicated parse mode should be SGML, but the DOCTYPE
Declaration indicates XML mode. Using SGML mode based on the Content-Type
header.
Namespace Found in non-XML Document
Namespace "" found, but document type is not XML!
This page is not Valid XHTML 1.0 Strict!
Below are the results of attempting to parse this document with an SGML
parser.
1. Error Line 7 column 51: character data is not allowed here.
The top 7 lines of code are:-
___________
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Telford Steam Railway</title>
<meta http-equiv="Content-language" content="en" />
_____________
Allan Smith
Received on Tuesday, 16 August 2005 06:40:43 UTC