W3C home > Mailing lists > Public > www-math@w3.org > April 2002

Re: pmathml.xsl example

From: David Carlisle <davidc@nag.co.uk>
Date: Wed, 3 Apr 2002 20:48:19 +0100
Message-Id: <200204031948.UAA06676@penguin.nag.co.uk>
To: bmoss@CLEMSON.EDU
CC: www-math@w3.org

> 
> Why doesn't the following example containing a character entity work?

It is a general XML rule that using an entity reference without
specifying a DTD is a fatal well formedness error.

You have to specify the mathml DTD (or at least a subset of it) if you
wish to use entity references. This is an XML requirement nothing to do
with the stylesheet.

Unfortunately the XML parser in IE6 is currently broken and doesn't
accept the mathml DTD so currently it is most portable if
you use &#177; to get the plus-or-minus symbol.

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.
Received on Wednesday, 3 April 2002 14:48:33 GMT

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