Re: 2 suggestions

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.

Regards,
-- 
Masayasu Ishikawa / mimasa@w3.org
W3C - World Wide Web Consortium

Received on Monday, 1 April 2002 02:47:42 UTC