# Re: Error in RelaxNG schema

From: David Carlisle <davidc@nag.co.uk>
Date: Fri, 06 Jul 2012 13:29:15 +0100
Message-ID: <4FF6DA1B.6070208@nag.co.uk>
To: Frédéric WANG <fred.wang@free.fr>

On 02/07/2012 14:16, Frédéric WANG wrote:
>
> As for the align attributes, shouldn't it be
>
> '\s*(top|bottom|center|baseline|axis)(\s*-?[0-9]+)?\s*'
>
> otherwise, it seems it becomes mandatory to have a space before the
> rownumber (which is not the case e.g. in the page I mentioned).

After some investigation and discussion in the Working Group, we do want
to confirm the text of MathML3 is correct that there should be a space,
that is:

align="baseline 3" not align="baseline3"

Looking at three currently popular implementations that support this;
firefox supports both forms, mathplayer and mathjax only support the
form with a space.

The text of MathML3 specifies (because of the "," syntax in the
attribute table) that a space is required. The text of MathML2 is less
clear but can also be read as requiring the space.

Thus making the schema match the text and require a space seems to be
the correct thing to do. We are sorry the confusion has lead to mozilla
having a test file that was previously reported as valid that is
reported as invalid by the updated schema.

The Relax NG schema and derived XSD and DTD files have been updated at

http://www.w3.org/Math/RelaxNG
http://www.w3.org/Math/XMLSchema
http://www.w3.org/Math/DTD

(The version of the schema at the main W3C validator site has not been
updated yet.)

The Changes log has been updated in the draft MathML3 spec

http://www.w3.org/Math/draft-spec/appendixf-d.html#changes.mathml3.02e-3.0

David Carlisle
For the Math WG.

________________________________________________________________________
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
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 1, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "math_score": 0.5462262630462646, "perplexity": 8694.498357142087}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "plain"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "warc_path": "s3://commoncrawl/crawl-data/CC-MAIN-2015-14/segments/1427131297429.39/warc/CC-MAIN-20150323172137-00143-ip-10-168-14-71.ec2.internal.warc.gz"}