PDA

Click to See Complete Forum and Search --> : validation error


flutterby nut
03-05-2007, 09:06 PM
i'm expanding my html/css knowledge with a practice site...i attempted to validate my initial markup before adding my css styles, and got the following error:

Result:Failed validation, 1 error File:upload://Form SubmissionEncoding:utf-8Doctype:-//W3C//DTD XHTML 1.0 strict//ENRoot Namespace:http://www.w3.org/1999/xhtml (http://www.w3.org/1999/xhtml)
Unknown Parse Mode! The MIME Media Type () for this document is used to serve both SGML and XML based documents, and it is not possible to disambiguate it based on the DOCTYPE Declaration in your document. Parsing will continue in SGML mode.
Namespace Found in non-XML Document Namespace "" found, but document type is not XML!
[/URL]This page is not Valid -//W3C//DTD XHTML 1.0 strict//EN!

Below are the results of attempting to parse this document with an SGML parser.

Error Line 5 column 68: character data is not allowed here....ontent-Type" content="text/html; charset=utf-8" />You have used character data somewhere it is not permitted to appear. Mistakes that can cause this error include putting text directly in the body of the document without wrapping it in a container element (such as a <p>aragraph</p>) or forgetting to quote an attribute value (where characters such as "%" and "/" are common, but cannot appear without surrounding quotes).


...i apologize for being stupid, but i'm not understanding this...i've compared my code with the guy's example and they match...excepting that his validates and mine does not...-sigh-...as this appears to me to be a doctype or head section problem, here's my related code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd (http://www.graphicdesignforum.com/forum/)">
<html xmlns="[URL]http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Cookr! | Raisin bread</title>
</head>

any thoughts?

flutterby nut
03-06-2007, 12:15 AM
Grrrrr!

i've spent how many hours on google, then searching w3c validator emails for error message 63 where i found "...upper case S on Strict"...the exact cause of my problem! :mad:

dons dunce cap...looks for GDF corner...

where the heck is it?!?

pffft.

EC
03-06-2007, 12:41 AM
haha no worries that would have perplexed me as well.