W3C home > Mailing lists > Public > www-math@w3.org > November 2006

Re: Samples from the Internet

From: David Carlisle <davidc@nag.co.uk>
Date: Mon, 27 Nov 2006 11:24:53 GMT
Message-Id: <200611271124.kARBOrAw027624@edinburgh.nag.co.uk>
To: juanrgonzaleza@canonicalscience.com
Cc: www-math@w3.org


> Just by curiosity. There exists another online validator (from a famous
> CAS) that approves
> 
> <math xmlns='http://www.w3.org/1998/Math/MathML'>
> <apply>
>  <mo>&gg;</mo>  <!-- put entity for the operator here -->
>  <ci>x</ci>
>  <cn>0</cn>
> </apply>
> </math>
> 
> as valid MathML.

yes as I said, in my corrected messgage, the dtd won't flag this as an
error by default so it is valid in the technical definition of valid as
defined by XML. That doesn't mean however that it isn't an error as MathML.

http://www.w3.org/TR/MathML/appendixa.html

says

  ... and partly due to the fact that for reasons of compatibility with
  earlier releases, the DTD is intentionally forgiving in some places and
  does not enforce constraints that are specified in the text of this
  specification. 

A few paragraphs further down
http://www.w3.org/TR/MathML/appendixa.html#parsing.dtd.strict
it does explain how the DTD can be made to check some additional things,
including this.

David
Received on Monday, 27 November 2006 11:25:08 GMT

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