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:59:07 -0600
Cc: Juan Pedro Silva <jpsilvagallino@gmail.com>, site-comments@w3.org
Message-Id: <44177751-1028-4AD6-BBF4-16451EF6BFFA@w3.org>
To: Ian Jacobs <ij@w3.org>

On 18 Feb 2010, at 8:48 AM, Ian Jacobs wrote:

>
> 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?

Apologies, I misread your question.

You ask:

"Perhaps this file is not supposed to be validated as a schema."

That seems correct (it's a DTD).

I don't believe the XML Schema Validator (xsv) checks DTDs.

I am not aware of an XML schema for HTML 4.01. There is one for XHTML  
1.0:
  http://www.w3.org/TR/xhtml1-schema/

  _ Ian

>
> _ 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
>
>

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

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