W3C home > Mailing lists > Public > www-validator@w3.org > June 2006

Re: [VE][63] Error Message Feedback

From: Benjamin Niemann <pink@odahoda.de>
Date: Fri, 23 Jun 2006 17:22:23 +0200
To: www-validator@w3.org
Message-ID: <e7h0vf$ov1$1@sea.gmane.org>

John Norrbin wrote:

> 
> Validating Error [63]: "character data is not allowed here"
> 
> Hi, i keep getting this error if i add anything inside the head of my
> xhtml-mp web document. For instance, this is the head of my document:
> 
> [snip]
> 
> PS, my doctype is <!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile
> 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">

I suspect that the validator does not recognize this declaration as being a
kind of XHTML and you are sending the document as text/html, thus it treats
your document as HTML. Then "<meta .../>" is equivalent to "<meta ...>&gt;"
with &gt; being the character data it complains about.
Because XHTML Mobile is based on the modularized XHTML, it probably has to
be served as application/xhtml+xml anyway, which would make it unambiguous
for the validator that XML rules apply. 

-- 
Benjamin Niemann
Email: pink at odahoda dot de
WWW: http://pink.odahoda.de/
Received on Friday, 23 June 2006 15:23:14 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:22 GMT