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

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 UTC