RE: [VE][63] Error Message Feedback

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 UTC