Terry
04-02-2003, 05:02 PM
Hi,
I'm running into a weird problem. I installed phpDev with Apache on my computer (Windows XP) and my pages on localhost display fine without a doctype but when I try and put in an XHTML compliant page I get the following error:
Parse error: parse error in c:\phpdev\www\public\castle\index.htm on line 1
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Baie Ste. Anne Building Supplies</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" type="text/css" href="css/babsStyle.css">
<script type="text/javascript" src="js/babs.js">
</script>
</head>
<body>
etc....
- Terry
I'm running into a weird problem. I installed phpDev with Apache on my computer (Windows XP) and my pages on localhost display fine without a doctype but when I try and put in an XHTML compliant page I get the following error:
Parse error: parse error in c:\phpdev\www\public\castle\index.htm on line 1
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Baie Ste. Anne Building Supplies</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" type="text/css" href="css/babsStyle.css">
<script type="text/javascript" src="js/babs.js">
</script>
</head>
<body>
etc....
- Terry