Hey,
I have some very simple code below that I can't get to validate on http://validator.w3.org/check and the errors make little sense to me. I'm stumped here can anyone see/understand the issue(s)?
Code:
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.2//EN" "http://www.openmobilealliance.org/tech/DTD/xhtml-mobile12.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test Mobile Site</title>
<link href="/css/site.css" rel="stylesheet" type="text/css" media="handheld" />
</head>
<body>
<div id="test">Why won't you validate for me? :(</div>
</body>
</html>
Errors:
Error: Line 18, Column 46: Input is not proper UTF-8, indicate encoding ! Bytes: 0x92 0x53 0x20 0x52
Error: Line 69, Column 17: conditional section INCLUDE or IGNORE keyword expected
Error: Line 73, Column 39: xmlParseElementDecl: 'EMPTY', 'ANY' or '(' expected
Error: Line 73, Column 39: Content error in the external subset