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 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:49:28 GMT