W3C home > Mailing lists > Public > www-math@w3.org > October 2005

Re: XHTML plus Math 1.1 and namespaces

From: David Carlisle <davidc@nag.co.uk>
Date: Mon, 3 Oct 2005 16:24:02 +0100
Message-Id: <200510031524.QAA09420@penguin.nag.co.uk>
To: beshenov@bk.ru
CC: darrell@webctr.com, www-math@w3.org, hwg-xml@hwg.org



> This  message  is also addressed to David Carlisle

There is no need to include me separately in the To: field, I get
www-math mail.

I'm not sure what the question is, as I don't think the earlier messages
were posted to www-math?
But in answer to:

DK> So, W3-validator can't process my "xmlns:m"?.. And is this code valid:

If you use a prefix for either the XHTML or MathML namespace then it is
not, by default, valid to the published XHTML+MathML DTD.

DTD's do not automatically adapt to prefixes in ways allowed by the XML
Namespace Recommendation, although so long as you restrict to using a
single prefix in each document, it is possible to make DTD valid
instances, but you need to define extra parameter entities in the
internal subset of the dtd. Examples are given in Appendix A of the
MathML spec.
http://www.w3.org/TR/MathML2/appendixa.html#parsing.dtd.param

Of course if you already know your source document is valid and are
generating html+mathml (with an html mime type) for mathplayer and
techexplorer, then you don't really need to put a <!DOCTYPE on the
document at all.

David



________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
Received on Monday, 3 October 2005 15:27:17 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 20 February 2010 06:12:58 GMT