I'm trying to build a mobile site (xhtml-mp) but cant get it to validate:
Can somebody advise me what to do with these errors? (From W3C)
1. Unknown Parse Mode!
2. Byte-Order Mark found in UTF-8 File.
3. character data is not allowed here.
The last one worries me because if I remove the entire line of code, the error jumps elsewhere.
I've Googled these all day and still no luck.
Thanks a lot,
The Originals
[PHP]<?php
echo "<?xml version=\"1.0\" encoding=\"utf-8\" ?>\n";
?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "(URL address blocked: See forum rules)" >
<html>
<head>
<meta http-equiv="Cache-Control" content="max-age=200" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="(URL address blocked: See forum rules)" rel="stylesheet" type="text/css" />
<title>The Originals Mobile Blog</title>
</head>
<body>
<div class="container">
<p class="marquee">content goes here</p>
</div>
</body>
</html>
[/PHP]