W3C home > Mailing lists > Public > www-math@w3.org > June 2010

Please provide use cases/examples for HTML content in <annotation-xml>

From: Michael(tm) Smith <mike@w3.org>
Date: Tue, 29 Jun 2010 16:13:32 +0900
To: www-math@w3.org
Message-ID: <20100629071331.GA70438@sideshowbarker>
If you have use cases and/or real-world examples, in existing
documents, of <annotation-xml> instances containing HTML content,
please post them as replies to this message and/or as comments
to the following HTML WG bugzilla bug -


The background on my request is this:

 - The HTML5 specification defines an algorithm for parsing
   text/html (non-XML) documents that contain MathML elements.

 - That algorithm deals with the <annotation-xml> element as a
   special case; it provides for both SVG and MathML content in
   <annotation-xml> being properly parsed into a DOM as expected.

 - However, for the case of HTML content in <annotation-xml>, it
   does not provide for that content getting into the DOM as child
   content of the <annotation-xml> element; instead such content
   will essentially end up getting into the DOM as a following
   sibling of any ancestor <math> element.

You can test and see for yourself by using a recent Mozilla
Minefield or Firefox nightly build with this page:


for example:


  or: http://bit.ly/dy4Rxj

So what I would like to try to get clarification on is whether
there are compelling use cases for having HTML content within the
<annotation-xml> element that would justify making a change at
this point to the parsing algorithm in the HTML5 spec (and to the
behavior of existing implementations of that).


Michael(tm) Smith
Received on Tuesday, 29 June 2010 07:13:37 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:27:42 UTC