- From: Shane P. McCarron <shane@aptest.com>
- Date: Thu, 28 Sep 2000 13:49:31 -0500
- To: Alain FAGOT <Alain.FAGOT@framfab.nl>
- CC: www-validator@w3.org
(Speaking as an editor of the XHTML specifications) There is no defined extension for XHTML. XHTML is an XML grammar, so it is appropriate to use the suffix .xml if you are serving it as media type text/xml. However, as most people continue to server XHTML as media type text/html, you should continue to use the suffix .html. > Alain FAGOT wrote: > > Hi, > > I've just spend a few hours to figure out why my (really > simple) file > '1a-provo.xhtml' would not validate (quite confusing error report > about > wrong DOCTYPE declaration) via the upload version of the validator. > Try > for yourself, you may be more lucky than I was. > > The solution is just to change the extension to .html instead > of .xhtml > (don't ask me why;-). Now my true question: "Can a file be a valid > XHTML document only if it has the .html extension?" > > Thanks for reading, > Alain. > -- > FAGOT Alain - Alain.FAGOT@framfab.nl > NetlinQ-Framfab - +31 20-60 77 513 > Gerard Brandtstraat 26-28 - 1054JK Amsterdam - Nederland > > --------------------------------------------------------------- > > Enigu viajn nomojn k pasvorton > > Familia nomo > Persona nomo > Pasvorto > > > -- Shane P. McCarron phone: +1 763 786-8160 ApTest fax: +1 763 786-8180 mobile: +1 612 799-6942 e-mail: shane@aptest.com
Received on Thursday, 28 September 2000 14:49:41 UTC