W3C Validator: Häh?
Posted: Fri Feb 23, 2007 5:51 pm
Kann mir bitte jemand erklären, was der Validator da genau meint?
Ich glaube das Problem ist, das der Validator das Dokument als HTML erkennt aber es eigentlich XHTML-mäßig geschrieben ist (bsp.
)
Infos wrote:Unknown Parse Mode!
The MIME Media Type (text/html) 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!
Fehler wrote:Error Line 10 column 104: character data is not allowed here.
...4-6 Ted Kulp. All rights reserved." />
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 aragraph) or forgetting to quote an attribute value (where characters such as "%" and "/" are common, but cannot appear without surrounding quotes).
Code: Select all
)