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