W3C home > Mailing lists > Public > www-html@w3.org > June 2000

Re: Authors response: The Future Of XHTML

From: Dan Connolly <connolly@w3.org>
Date: Thu, 22 Jun 2000 16:34:40 -0500
Message-ID: <39528670.34353031@w3.org>
To: Sean Palmer <sean_b_palmer@yahoo.com>
CC: www-html@w3.org, Karl Ove Hufthammer <huftis@bigfoot.com>
Sean Palmer wrote:
> Hello Again,
> Firslty I shall addres the concerns of Mr. Hufthammer
> and Mr. Connolly.
> The problem lies in one of the entity documents, I get
> errors when I run an XHTML document through (for
> example) http://www.stg.brown.edu/service/xmlvalid/
> which is known to be an excellent validator.
> Another intersting point is that the W3C hompage
> doesn't have an XML tag in it!

I gather you mean an XML declaration when
you say 'XML tag'.

> Why is this?

Because it's not required for UTF-8 encoded documents;
note the ? after XMLDecl:

                               XMLDecl? Misc* (doctypedecl Misc*)?

-- http://www.w3.org/TR/1998/REC-xml-19980210#NT-prolog

It just takes up extra bytes, so we left it out.

Just now I have other commitments that preempt
me from spending the time to debug this stuff;
I hope somebody else can provide an explanation.

> However, even REAL valid XHTML pages dont
> validate as XML because the problem lies with one of
> the documents refered to in the XHTML DTD.
> For your benefit, here is the result of the
> afforementioned parser on my webpage:-
> line 38,
> http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd:
> error (771): malformed external parameter entity;
> file:
> http://www.w3.org/TR/xhtml1/DTD/xhtml-special.ent,

Dan Connolly, W3C http://www.w3.org/People/Connolly/
Received on Thursday, 22 June 2000 17:44:18 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:05:54 UTC