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

Jirka,

> 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.

http://monet.nag.co.uk/~dpc/draft-spec/appendixa.html#parsing_NonMathMLAtt


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.

David

PS

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
done
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
done
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
done
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
done
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
done
Checking in rngdtd.xsl;
/w3ccvs/WWW/Math/Group/RelaxNG/mathml3/rngdtd.xsl,v  <--  rngdtd.xsl
new revision: 1.7; previous revision: 1.6
done
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
done
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
done
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
done
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
done
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
done
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
done

________________________________________________________________________
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 UTC