W3C home > Mailing lists > Public > www-math@w3.org > February 2013

Re: Non-Marking Characters

From: David Carlisle <davidc@nag.co.uk>
Date: Tue, 05 Feb 2013 21:35:50 +0000
Message-ID: <51117B36.40507@nag.co.uk>
To: Ionel Alexandru <ionel.alexandru@gmail.com>
CC: www-math@w3.org
On 05/02/2013 21:26, Ionel Alexandru wrote:
> Hi,
>
> thank you for previous answer,
>
> Another problem:
> In MathML 2 specification to Non-Marking Characters
> (http://www.w3.org/TR/2001/REC-MathML2-20010221/chapter6.html)
> we have a list of Whitespace entities: &Tab;, &NewLine;, &Space;,
> &NonBreakingSpace;, ...
>
> But this list is not in the new specification for MathML 3 at 7.6
> Non-Marking Characters (http://www.w3.org/TR/MathML3/chapter7.html)
>
> *This list is the list of entities accepted to be displayed in a mtext
> element ?*
> If not, do you have a list of accepted "renderable whitespace" ?


The entities list has been moved to its own specification:

http://www.w3.org/TR/xml-entity-names/

and is also the list used in HTML5.

The handling of Entity references is really a feature of the html or xml 
parser and the MathML application should accept any XML unicode string 
without knowing whether they were originally entered as references and 
expanded by the parser, or if they were entered as character data.

MathML treats some character s(same as XML) as "white space" and trims 
them but these are just space tab and newline and carriage return, other 
characters like #160 (non breaking space) and zerowidth space
may produce "white" space but they are not whitespace characters in teh 
sense they get special handling by XML or MathML.

David
Received on Tuesday, 5 February 2013 21:36:21 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 5 February 2013 21:36:21 GMT