blondinnet
12.04.2002, 17:15
Hello, I have a problem when validating my page on the w3 validator but the same page validate well-formed with the WDG validator, so what is wrong with ???
Any idea?
The Doctype on my page :
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//FR"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">
<title>Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
That's what the W3 validator gives back :
Warning: DOCTYPE Override in effect! Any DOCTYPE Declaration in the document has been supressed and the DOCTYPE for «XHTML 1.0 Transitional» inserted instead.
The document will not be Valid until you alter the source file to reflect this new DOCTYPE.
Below are the results of checking this document for XML well-formedness and validity.
What does that mean? I really don't know.
Please note that you have chosen one or more options that alter the content of the document before validation, or have not provided enough information to accurately validate the document.
Even if no errors are reported below, the document will not be valid until you manually make the changes we have performed automatically.
Specifically, if you used some of the options that override a property of the document (e.g. the DOCTYPE or Character Encoding), you must make the same change to the source document or the server setup before it can be valid.
You will also need to insert an appropriate DOCTYPE Declaration or Character Encoding (the "charset" parameter for the Content-Type HTTP header) if any of those are missing.
No errors found! *
This document would validate as the document type specified if you updated it to match the Options used.
Is this a problem of language because I use "FR" instead of "EN", don't know?
Can someone help me with that.
Any idea?
The Doctype on my page :
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//FR"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">
<title>Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
That's what the W3 validator gives back :
Warning: DOCTYPE Override in effect! Any DOCTYPE Declaration in the document has been supressed and the DOCTYPE for «XHTML 1.0 Transitional» inserted instead.
The document will not be Valid until you alter the source file to reflect this new DOCTYPE.
Below are the results of checking this document for XML well-formedness and validity.
What does that mean? I really don't know.
Please note that you have chosen one or more options that alter the content of the document before validation, or have not provided enough information to accurately validate the document.
Even if no errors are reported below, the document will not be valid until you manually make the changes we have performed automatically.
Specifically, if you used some of the options that override a property of the document (e.g. the DOCTYPE or Character Encoding), you must make the same change to the source document or the server setup before it can be valid.
You will also need to insert an appropriate DOCTYPE Declaration or Character Encoding (the "charset" parameter for the Content-Type HTTP header) if any of those are missing.
No errors found! *
This document would validate as the document type specified if you updated it to match the Options used.
Is this a problem of language because I use "FR" instead of "EN", don't know?
Can someone help me with that.