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:

Which looks like this:

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

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,
Received on Saturday, 30 October 1999 10:42:21 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:08:21 UTC