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

[MathML3-last-call] content model of mlabeldtr

From: David Carlisle <davidc@nag.co.uk>
Date: Thu, 24 Sep 2009 22:42:53 +0100
Message-Id: <200909242142.n8OLgrUM007122@edinburgh.nag.co.uk>
To: www-math@w3.org


The required argument table in 3.1.3.2 says this of mlabeldtr

a label and 0 or more mtd elements 

which might lead you to expect that the label isn't a mtd
however the label should also be in mtd as stated explictly in section
3.5.3.1. 

The schema gives mlabeldtr TableCellExpression* which is the same as
mtr, I think that isn't right either, should be + not * to reflect "1 or more".


The schema should give mlabeldtr the same attributes as mtr currently
it doesnt. (This bug occurred as there is no special attribute table
for mlabeldr, it just says in words that it takes the same attributes as
mtr. This could be special cased in the schema extractor, or perhaps
there should be an attribute table anyway...)


The spec could I think be more explict that all the children of mtr are
mtd, for mlabeledtr it says

    The rest of the children represent the contents of the row and are
    identical to those used for mtr; consequently all of the children
    must be mtd elements.

which is explict but for mtr it says nothing at all about mtd in section
3.5.2 and just says 


    Each argument of mtr is placed in a different column of the table,

It could probably usefully say


    Each argument of mtr, which must be an mtd element, is placed in a
    different column of the table,


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. 
________________________________________________________________________
Received on Thursday, 24 September 2009 21:43:32 GMT

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