W3C home > Mailing lists > Public > www-validator@w3.org > April 2002

Re: 2 suggestions

From: Masayasu Ishikawa <mimasa@w3.org>
Date: Mon, 01 Apr 2002 16:47:40 +0900 (JST)
Message-Id: <20020401.164740.74753027.mimasa@w3.org>
To: mf@w3.org
Cc: www-validator@w3.org
Max Froumentin <mf@w3.org> wrote:

> > That document has no preamble.  In the absence of a doctype, none
> > of the validators will validate it
> It has no preamble on purpose. If the validator gets mime type
> information, or a file extension it should be able to infer that the 
> document is MathML. 

Well, there are MathML 1.0, 1.01 and 2.0, all in the same namespace.
Media type may be sufficient to infer that the document is MathML,
but it won't be sufficient to validate against a particular DTD such
as MathML 2.0 DTD.

It's the same situation as XHTML - in the absence of a DOCTYPE, you
cannot determine whether an XHTML document is written in XHTML 1.0
(Strict or Transitional or Frameset) or XHTML Basic or XHTML 1.1 or
whatever, for better or worse.

Masayasu Ishikawa / mimasa@w3.org
W3C - World Wide Web Consortium
Received on Monday, 1 April 2002 02:47:42 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:33 UTC