W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > June 2010

[Bug 9887] parsing algorithm should allow HTML content in MathML <annotation-xml>

From: <bugzilla@jessica.w3.org>
Date: Thu, 17 Jun 2010 10:24:08 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1OPCGW-0000Ax-LX@jessica.w3.org>

--- Comment #6 from David Carlisle <davidc@nag.co.uk>  2010-06-17 10:24:07 ---
(In reply to comment #5)
> > I can not see why you call this a hack, this is the intended usage of the
> element
> > Yes that is the default behaviour for the css profile and more or less the
> default behaviour for the full mathml as well
> If the intended usage of annotation-xml is to render SVG, then why is
> annotation-xml display:none?

> If annotation-xml is intended for embedding stuff that's not supposed to be
> rendered, then it's not appropriate to put SVG in there.

You need to make a distinction between mathml (or mathml-css-profile) and 
mathml (or mathml-css-profile) in html.

A conforming mathml system is not obliged to render svg or html, so the default
behaviour of an annotation-xml with svg or html in them is that they are legal,
and validate against the mathml schema but by default they have no effect on
rendering or anything else. the only annotation type for which the mathml spec
suggests any rendering behaviour is an annotation-xml containing presentation
mathml which should be used as the rendering in preference to rendering the
base. Basically annotation-xml acts like an unknown attribute, except that it
is an element to allow structured content.

However html5 spec is defining a larger html+mathml+svg compound document
format, and there it would be perfectly logical to say that an annotatation-xml
with html or svg (or some combination thereof) should be rendered in preference
to the base if that is what you want to specify. The html5 spec can say this as
it has the vocabulary to talk about html and svg. the Mathml spec can say very
little about how mathml is embedded in a larger format, it has to work with
html, docbook, TEI, ODF, and in different contexts different annotations may
have a rendering effect and others will be ignored. In mathml+docbook it may be
that annotating with a fragment of inline docbook markup affects the rendering,
but an annotation with svg is ignored, and in mathml+html the opposite is true.

Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Thursday, 17 June 2010 10:24:10 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 16:30:51 UTC