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

Re: [MathML3-last-call] Improving MathML internationalization capabilities

From: David Carlisle <davidc@nag.co.uk>
Date: Mon, 9 Nov 2009 00:57:59 GMT
Message-Id: <200911090057.nA90vx88003474@edinburgh.nag.co.uk>
To: jirka@kosek.cz, www-math@w3.org, public-i18n-its-ig@w3.org


> Are you sure that xml:* is really allowed? 

I think I fixed this, it turned out to be rather more delicate than I
thought (fixing the RelaxNG was easy but that broke the special case
simplifications I was using before applying trang to get the dtd.)
However some test files with xml:lang and xml:space now validate
with both Relax and DTD. We are building up the MathMl3 test suite to
get better coverage and we'll be validating the test suite against relax
xsd and dtd schema, I will add some xml:* attribute tests to the test
suite to check that this doesn't regress.

I have checked in updated schema in public space and a draft with an
updated appendix A.


Just to confirm, for those not interested in arcane schema details,
xml:* (and in particular, xml:lang) is (once again) allowed on every
MathML element. 

Thanks again for catching this.



For those who _are_ interested in arcane schema details....

Basically the change was to allow any attributes not in the null
namespace or the mathml namespace (rather than not in null namepsace or
xml namespace) as shown in the editors' draft above.

However this caused a bit of refactoring to be necessary and the
following files changed in our internal sources:

$ cvs commit -m "xml namespace attributes"

Checking in makedtd;
/w3ccvs/WWW/Math/Group/RelaxNG/mathml3/makedtd,v  <--  makedtd
new revision: 1.8; previous revision: 1.7
Checking in mathml3-common.rnc;
/w3ccvs/WWW/Math/Group/RelaxNG/mathml3/mathml3-common.rnc,v  <--  mathml3-common.rnc
new revision: 1.35; previous revision: 1.34
Checking in mathml3-common.rng;
/w3ccvs/WWW/Math/Group/RelaxNG/mathml3/mathml3-common.rng,v  <--  mathml3-common.rng
new revision: 1.33; previous revision: 1.32
Checking in mathml3-presentation.rnc;
/w3ccvs/WWW/Math/Group/RelaxNG/mathml3/mathml3-presentation.rnc,v  <--  mathml3-presentation.rnc
new revision: 1.53; previous revision: 1.52
Checking in mathml3-presentation.rng;
/w3ccvs/WWW/Math/Group/RelaxNG/mathml3/mathml3-presentation.rng,v  <--  mathml3-presentation.rng
new revision: 1.36; previous revision: 1.35
Checking in rngdtd.xsl;
/w3ccvs/WWW/Math/Group/RelaxNG/mathml3/rngdtd.xsl,v  <--  rngdtd.xsl
new revision: 1.7; previous revision: 1.6
Checking in dtd/mathml3.dtd;
/w3ccvs/WWW/Math/Group/RelaxNG/mathml3/dtd/mathml3.dtd,v  <--  mathml3.dtd
new revision: 1.27; previous revision: 1.26
Checking in xsd/mathml3-common.xsd;
/w3ccvs/WWW/Math/Group/RelaxNG/mathml3/xsd/mathml3-common.xsd,v  <--  mathml3-common.xsd
new revision: 1.9; previous revision: 1.8
Checking in xsd/mathml3-content.xsd;
/w3ccvs/WWW/Math/Group/RelaxNG/mathml3/xsd/mathml3-content.xsd,v  <--  mathml3-content.xsd
new revision: 1.8; previous revision: 1.7
Checking in xsd/mathml3-presentation.xsd;
/w3ccvs/WWW/Math/Group/RelaxNG/mathml3/xsd/mathml3-presentation.xsd,v  <--  mathml3-presentation.xsd
new revision: 1.24; previous revision: 1.23
Checking in xsd/mathml3-strict-content.xsd;
/w3ccvs/WWW/Math/Group/RelaxNG/mathml3/xsd/mathml3-strict-content.xsd,v  <--  mathml3-strict-content.xsd
new revision: 1.7; previous revision: 1.6
Checking in xsd/mathml3.xsd;
/w3ccvs/WWW/Math/Group/RelaxNG/mathml3/xsd/mathml3.xsd,v  <--  mathml3.xsd
new revision: 1.3; previous revision: 1.2

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 Monday, 9 November 2009 00:58:38 GMT

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