W3C home > Mailing lists > Public > www-validator@w3.org > November 2005

RE: [VE][63] Error Message Feedback

From: Safontchik, Yevgeny <Yevgeny.Safontchik@FMR.COM>
Date: Tue, 29 Nov 2005 12:47:39 -0500
Message-ID: <4646CCD43C9EE7499F7A97BB9EE7C6EA02F3C954@MSGBOSCLE2WIN.DMN1.FMR.COM>
To: <www-validator@w3.org>
Validating Error [63]: "character data is not allowed here"

Hello,
  I am getting following three errors when validating wml below:



# Error  Line 5 column 67: character data is not allowed here.

..."Cache-Control" content="max-age=0" forua="true" />

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).

✉
# Error Line 12 column 19: character data is not allowed here.

<br/><anchor><prev/>Back</anchor>

✉
# Error Line 12 column 32: end tag for "PREV" omitted, but its declaration does not permit this.

<br/><anchor><prev/>Back</anchor>

    * You forgot to close a tag, or
    * you used something inside this tag that was not allowed, and the validator is complaining that the tag should be closed before such content can be allowed.

The next message, "start tag was here" points to the particular instance of the tag in question); the positional indicator points to where the validator expected you to close the tag.





I have checked the documentation and it says that meta tag should be empty, and prev tag can be empty.
Here's the xml I was validating:

<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.3//EN" "http://www.wapforum.org/DTD/wml13.dtd">
<wml>
<head>
<meta http-equiv="Cache-Control" content="max-age=0" forua="true" />
<meta http-equiv="Cache-Control" content="must-revalidate" forua="true"/>
<meta http-equiv="Cache-Control" content="no-store" forua="true"/>
<meta http-equiv="Cache-Control" content="no-cache" forua="true"/>
</head>
<card title="a" id="c0">
<p>______
<br/><anchor><prev/>Back</anchor>
<br/><a href="/home">Home</a>
</p>
</card>
</wml>



Thank you,
	Gene.
Received on Tuesday, 29 November 2005 22:07:32 GMT

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