- From: Thanasis Kinias <tkinias@optimalco.com>
- Date: Thu, 9 May 2002 15:32:20 -0700
- To: Bjoern Hoehrmann <derhoermi@gmx.net>
- Cc: John Levon <levon@movementarian.org>, www-validator@w3.org
scripsit Bjoern Hoehrmann: > * John Levon wrote: > >I have been led to understand that XHTML 1.0 Strict documents containing > >code like : > > > ><p xmlns="http://www.w3.org/1999/xhtml"> > >... > ></p> > > > >is well-formed and valid, although the ns declaration is redundant. > > > >Is this the case ? > > No, the XHTML 1.0 DTDs do not define a xmlns attribute for element p, > the only place you may put an xmlns attribute specification is the html > element. The confusion might be that it is _well-formed_ XML, but if it doesn't conform to the DTD it isn't _valid_ XHTML. -- Thanasis Kinias Web Developer, Information Technology Graduate 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 Thursday, 9 May 2002 18:33:48 UTC