W3C Validator: Häh? Topic is solved

Deutschsprachiger Support für CMS Made Simple
Post Reply
waechter

W3C Validator: Häh?

Post by waechter »

Kann mir bitte jemand erklären, was der Validator da genau meint?
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).
Ich glaube das Problem ist, das der Validator das Dokument als HTML erkennt aber es eigentlich XHTML-mäßig geschrieben ist (bsp.
)
shackleton
Forum Members
Forum Members
Posts: 10
Joined: Wed Feb 21, 2007 5:04 pm

Re: W3C Validator: Häh?

Post by shackleton »

Schau, ob überhaupt eine sog. DOCTYPE-Deklaration am Anfang der Datei steht. Wenn diese fehlt, dann rät der Validator. Vielleicht ist es auch nicht die richtige. http://www.htmlhelp.com/tools/validator/doctype.html kann da möglicherweise weiterhelfen.
faglork

Re: W3C Validator: Häh?

Post by faglork »

Poste doch mal den kompletten HEAD-Bereich.

Viele Grüße,
Alex
Post Reply

Return to “German - Deutsch”