Re: XHTML plus Math 1.1 and namespaces

> If User-agent not MSIE, than send as "application/xml".

For mozilla and friends it's probably better to use
application/xhtml+xml
as that will turn on XHTML (and MathML) rendering automatically.

> I  don't  know,  have  W3C  HTML-validator special "User-Agent", but,
> anyway,  if  it  is  possible to detect Validator by some parameters,
> site  engine  can  add  doctype  and remove namespaces especially for
> Validator,  to  make checking documents possible...

Possibly, but really for checking whole sites I wouldn't use the online
validator. The online service is basically a wrapper around the sp SGML
parser which is freely available and can be used locally to check your
site content. If the content is all XHTML, and so all XML rather than
HTML (SGML) then it's even easier, as you don't need the complication of
an SGML parser, and validating XML parser will do the job. Personally I
use rxp for this, it's free, fairly fast and very conformant to the XML
specification, 
rxp -sxV myfile.xml
reports any dtd validation errors which you can then do before you even
put content on your site.

Other than that, your plan seems reasonable.

Note I added www-math back to the CC list, this is a general discussion
list and I'm sure other people on this list will be interested to know
how you get on, so feel free to post again to the list, with any
pointers to your mathml pages, or further queries!

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 Tuesday, 4 October 2005 09:32:08 UTC