W3C home > Mailing lists > Public > www-math@w3.org > August 2009

RE: HTML 5 and MathML validation problems

From: Joe Java <joe.java@eyeasme.com>
Date: Mon, 24 Aug 2009 06:50:16 -0700
Message-Id: <20090824065016.eeb015f6c9d0e1fdff594d2c3206cf5d.eb06c0a343.wbe@email04.secureserver.net>
To: "David Carlisle" <davidc@nag.co.uk>
Cc: www-math@w3.org
Hello David,

   Thank you for your help.
> 
> > The first error appears to say that MathML can not be placed inside an
> > 'a' hyperlink tag.
> 
> That would be unfortunate, although you could do the hyperlinking within
> the maths, this is a html5 issue more than a mathml one, where exactly
> within html math is allowed.
> 

Each MathML example is kept as a separate file, and I 
use PHP to include each file in the final webpage.  This
way all the code for an example is in one place and I can 
hyperlink to the MathML code for each example.  Each equation
is surrounded by a hyperlink to the source code that made it.
All the source code, Tex and MathMl, can now be had just by 
clicking on the representative equation.

> 
> > I have no idea what the second error is complaining about.
> 
> 
> 9001 was intended to be a mathematical symbol but unfortunately it got
> specified by unicode to have a canonical unicode decomposition to 3008
> which is LEFT-POINTING ANGLE BRACKET, an asian punctuation character.
> 
> So 9001 is deprecated and instead unicode suggests that you use
> 
> 27E8 MATHEMATICAL LEFT ANGLE BRACKET
> 27E9 MATHEMATICAL RIGHT ANGLE BRACKET
> 
> The draft MathMl3 dtd and the entity sets at 
> http://www.w3.org/2003/entities/
> have been updated to use these characters for the rang and lang
> entities, so if the characters are entered using entity names, a new dtd
> would fix the issue, but if they are entered as character references or
> character data, the file would need to be updated if you wish to serve
> it in unicode normal form (which is recommended for xml and html4, not
> just html5)
> 
> 

Thank you, this fixed the problem of right and left angled brackets.

> 
> 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. 
> ________________________________________________________________________

Joe
Received on Monday, 24 August 2009 13:51:01 GMT

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