W3C home > Mailing lists > Public > public-html@w3.org > May 2008

Re: Supporting MathML and SVG in text/html, and related topics

From: David Carlisle <davidc@nag.co.uk>
Date: Fri, 23 May 2008 11:45:58 +0100
Message-Id: <200805231045.m4NAjweV001448@edinburgh.nag.co.uk>
To: ian@hixie.ch
Cc: hsivonen@iki.fi, public-html@w3.org, www-math@w3.org


> Are form feeds and vertical tabs allowed in MathML <mtext> and
> attributes?

MathML makes no mention of them, they are not allowed in XML 1.0 anyway
so it wasn't really an issue at the time mathml 1 and 2 were specified.

XML 1.1 (where it is supported) allows these characters to be
referenced via numeric references, but not as character data. HTML5 as
far as I understand it allows them as character data as well. So I
suppose (since MathML doesn't say otherwise) that they are allowed, but
with no (mathml-specific) rendering specified. Other white space is
normalised in mathml content, removed at the ends, and any run of
consecutive characters replaced by a single space, so it would perhaps
make sense to include these characters in that normalisation process,
although that isn't currently the case.

For those with w3c access there is an open issue on this for mathml3
http://www.w3.org/2005/06/tracker/math/issues/27
for thise without w3c access, the full text of the issue is pasted below

David

State:
    OPEN
Product:
Raised by:
    David Carlisle
Opened on:
    2008-04-11
Description:

HTML5 appears to allow C0 controls to be references via numeric references
& # 1 9 ;
etc
XML 1.1 does as well. 

We could (and probably should) just ignore this and let the rendering of
these characters be system/font specific. 

However HTML5 allows characters 11 and 12 to be used directly as
character data (line tabulation and form feed) and specifies that they
are "space characters" that leads to the question raised by Henri
Sivonen on the public list what the rendering should be here, should we
state that these two characters take part in the white space
normalisation that we apply to token elements (replacing runs of white
space by a space character (32)

David



________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________
Received on Friday, 23 May 2008 10:46:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:17 GMT