W3C home > Mailing lists > Public > site-comments@w3.org > January 2008

Re: http://www.w3.org/TR/html4/loose.dtd fails being parsed correctly

From: Ian B. Jacobs <ij@w3.org>
Date: Mon, 21 Jan 2008 10:43:43 -0600
To: Rainer Pruy <Rainer.Pruy@Acrys.COM>
Cc: site-comments@w3.org
Message-Id: <1200933823.3874.12.camel@localhost>
On Mon, 2008-01-21 at 10:35 -0600, Rainer Pruy wrote:
> 
> 
> 
> The file served at the URL mentioned above causes parsing errors.

Hi Rainer,

Parsing in what context?

The file in question is a "DTD"; it is not XML or HTML. DTDs have their
own syntax (described in SGML).

 _ Ian

> 
> The problem is the following sequence of lines (starting with line 30)
> 
> ----------------------------------------------
> -->
> <!ENTITY % HTML.Version "-//W3C//DTD HTML 4.01 Transitional//EN"
>   -- Typical usage:
> ----------------------------------------------
> The second line is starting an entity definition that obviously is not terminated by a "<",
> while the the third line looks like there should start a comment (with a "<"missing)?
> 
> Can this be fixed, or am I missing something here?
> 
> Regards
> Rainer
> 
> 
-- 
Ian Jacobs (ij@w3.org)   http://www.w3.org/People/Jacobs/
Tel:                     +1 718 260-9447

Received on Monday, 21 January 2008 16:43:51 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 24 October 2012 16:21:30 GMT