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

Re: Errors in the test suite

From: David Carlisle <davidc@nag.co.uk>
Date: Thu, 22 Apr 2004 11:59:17 +0100
Message-Id: <200404221059.LAA25025@penguin.nag.co.uk>
To: ian@hixie.ch
Cc: www-math@w3.org


Thanks for this report

  First, it appears that none of the MML files have namespace declarations,
  so they are presumably not MathML files (unless I missed something).

Arguably you are missing a local XML catalogue that defaults the MathML
DTD for a top level math element (which would in turn default the namespace
declaration) Such a catalogue is used to validate the test suite
using nsgmls, which does then report them all as valid except those that
are intentionally invalid, except we clearly missed something as


   http://www.w3.org/Math/testsuite/testsuite/Presentation/TablesAndMatrices/mtable/deprecated-mtd2.xml

  ...has a wellformedness error.


oops we should fix, thanks again for reporting that. 

Also probably we should add namespace declns to the mml files, as
catalogue support is far from being mandatory.

  Other than that, I have to say, this is one of the best test suites I've
  seen from the W3C.

Robert and Neil should take most of the credit for that, I think.

  My only request would be for a much simpler version of
  the test suite that doesn't depend on (e.g.) XSLT, but just has the sample
  rendering, the test rendering, and "next" and "prev" links. That way it
  would be less distracting when going through and testing several dozen
  tests at once.

The XSLT is there as current browsers won't (or wouldn't at the time)
render the files at all without it. IE/MathPlayer needed it to trigger
the IE behaviour stuff and Mozilla needs it to render all the content
mathml tests. For bulk testing you should be able to grab the zip file 
and then use the mml files locally (which don't have the xslt dependency)
Although that's probably what you were doing when you found they didn't
have an explict namespace declaration or doctype...


David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
Received on Thursday, 22 April 2004 07:02:53 GMT

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