- From: Christoph Schneegans <Christoph@Schneegans.de>
- Date: Wed, 21 Aug 2002 13:04:31 GMT
- To: <www-html@w3.org>
- Cc: "Christian Wolfgang Hujer" <Christian.Hujer@itcqis.com>
Christian Wolfgang Hujer wrote: >>> I myself also find the statement "The root element of the document >>> must contain an xmlns declaration for the XHTML namespace [XMLNS]" >>> [http://www.w3.org/TR/xhtml1/#strict] a bit misleading. >> >> Really? (...) > > I'd say in > <!DOCTYPE html [ > <!ATTLIST html > xmlns CDATA "http://www.w3.org/1999/xhtml" #FIXED > > > ]> > <html> > ... > </html> > the root element of the document in fact contains an xmlns declaration for > the XHTML namespace. Okay, I stand corrected. > I'd say: > "The start tag of the document element must itself contain the xmlns > attribute that declares the XHTML namespace. The declaration of the > namespace in the DTD is not enough since user agents are not required to be > validating or use the DTD at all." This wording is much better, IMHO. Regards, Christoph Schneegans -- <http://schneegans.de/>
Received on Wednesday, 21 August 2002 09:05:46 UTC