W3C home > Mailing lists > Public > site-comments@w3.org > February 2010

Re: Please, redirect my question where appropriate: Errors on http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd?

From: Ian Jacobs <ij@w3.org>
Date: Thu, 18 Feb 2010 08:48:15 -0600
To: Juan Pedro Silva <jpsilvagallino@gmail.com>
Message-Id: <9E6ED995-6CA8-48E6-8FE9-DED4352FC620@w3.org>
Cc: site-comments@w3.org

On 18 Feb 2010, at 8:36 AM, Juan Pedro Silva wrote:

> Hello, I'm writing to you with respect to a validation problem on http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd

Hello,

That file is not an HTML file, so it won't validate as HTML.

It is a DTD (which has an entirely different syntax than HTML).

Does that answer your question?

  _ Ian

> I am working on some legacy web services (in particular, the WS-I  
> SCM use case), and the when trying to marshal the schemas used by  
> these WS errors are reported on the mentioned file.
> JAXB xjc tool reports:
>
> [ERROR] The declaration for the entity "ContentType" must end with  
> '>'.
>   line 81 of http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd
>
> and your own validator (http://www.w3.org/2001/03/webdata/xsv)  
> reports:
>
> Error: Syntax error after <!
>  in unnamed entity at line 78 char 3 of http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd
>
> Perhaps this file is not supposed to be validated as a schema.  
> Anyhow, this is causing me a lot of inconveniences.
> Is there an alternative schema to substitute this dtd?, do you know  
> of some workaround?.
> Thanks in advance, and best regards,
>                                                            Juan  
> Pedro Silva

--
Ian Jacobs (ij@w3.org)    http://www.w3.org/People/Jacobs/
Tel:                                      +1 718 260 9447
Received on Thursday, 18 February 2010 14:48:16 GMT

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