W3C home > Mailing lists > Public > www-validator@w3.org > August 2002

Re: validator does NOT validate XHTML 1.0

From: Thanasis Kinias <tkinias@optimalco.com>
Date: Tue, 20 Aug 2002 09:38:27 -0700
To: Christoph Schneegans <Christoph@Schneegans.de>
Cc: www-validator@w3.org
Message-ID: <20020820163827.GA22481@optimalco.com>

scripsit Christoph Schneegans:
> Thanasis Kinias wrote:
> 
> > [in reference to a browser supposedly refusing to render pages that
> > don't explicity set the xmlns attribute]
> >
> >> Of course, the statement above is true only if the document is declared with
> >> a MIME type such as "application/xhtml+xml", and this behaviour makes sense
> >> in that case.
> >
> > I don't follow.  You mean that IFF content-type is application/xhtml+xml,
> 
> ...or "text/xml" or "application/xml", yes.
> 
> > the brokenness is correct?
> 
> There's no brokenness. Without a proper namespace declaration, how should an
> XML user agent determine that "p" is a paragraph?

The same way any SGML UA would:  By reading the DTD.  Namespaces don't
take the place of DTDs at all.  In the case of XHTML, the DTD gives the
value of the xmlns attrib on <html>.  It's really quite simple.

-- 
Thanasis Kinias
Doctoral Student, Department of History
Arizona State University
Tempe, Arizona, U.S.A.

Ash nazg durbatulūk, ash nazg gimbatul,
Ash nazg thrakatulūk agh burzum-ishi krimpatul
Received on Tuesday, 20 August 2002 12:38:35 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:03 GMT