W3C home > Mailing lists > Public > www-html-editor@w3.org > October to December 1999

Error in xhtml DTD

From: Jim Condit <jcondit@mediaone.net>
Date: Sat, 30 Oct 1999 10:31:38 -0400
Message-ID: <381B0149.74C2216B@mediaone.net>
To: www-html-editor@w3.org
I copyed the example found at the W3C XHTML site:
http://www.w3.org/TR/1999/PR-xhtml1-19990824/

Which looks like this:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/strict.dtd">
<html xmlns="http://www.w3.org/TR/xhtml1/strict" xml:lang="en"
lang="en">
  <head>
    <title>Virtual Library</title>
  </head>
  <body>
    <p>Moved to <a href="http://vlib.org/">vlib.org</a>.</p>
  </body>
</html>

But when I tried to run it under IE5, I got the following error:

Error while parsing entity 'lt'. A declaration was not closed. Line 1,
Position 1

Since I'm just learning xml and xhtml, I cannot give a better report,
sorry.
Received on Saturday, 30 October 1999 10:42:21 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:16:45 GMT