Well, that was infuriating
My latest webapp was showing blank pages on Opera, both desktop and mobile. I narrowed it down to a testcase. This fails:<?xml version="1.0" encoding="utf-8"?>… while this succeeds:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<script type="text/javascript"
src="/javascript/prototype.js"/>
<title>
Test
</title>
</head>
<body>
<div id="page">
<h1>TEST</h1>
</div>
</body>
</html>
<?xml version="1.0" encoding="utf-8"?>Now that is annoying. I wasted a fair few hours on that.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<script type="text/javascript"
src="/javascript/prototype.js"></script>
<title>
Test
</title>
</head>
<body>
<div id="page">
<h1>TEST</h1>
</div>
</body>
</html>
Posted at 2006-05-01 14:20:08 by Richard • Link to Well, that was inf…
Comments, trackbacks.
