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

Re: cs String Literal

From: David Carlisle <davidc@nag.co.uk>
Date: Mon, 25 Apr 2011 22:52:57 +0100
Message-ID: <4DB5ED39.3010704@nag.co.uk>
To: www-math@w3.org
On 22/04/2011 16:33, Fraser Goffin wrote:
> I noted that there is a<cs>
> element which looks like it can be used to contain string literals,
> but when I attempt to use it, it will not validate against the mathml3
> XSD.

The fragment that you posted looks valid to me, but condition isn't 
allowed at the top level it is just intended to constrain other 
constructors, so it will fail to validate unless included into some more 
terms. Did you really get a validation error from the cs?


Ouch yes you did, the file below validates against the relaxng and dtd 
but not against the xsd. Sorry that would be a bug, will report back 
with a fix asap (probably not today, it's a bit late) The XSD is mainly 
made by trang converting the relaxng schema to XSD, but the relax is 
preprocessed a bit first to make it simple enough for the conversion.
I need to check where it went wrong.


<math xmlns="http://www.w3.org/1998/Math/MathML" >

Received on Monday, 25 April 2011 21:53:16 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:27:43 UTC