W3C home > Mailing lists > Public > www-svg@w3.org > August 2008

values of requiredExtensions to use XHTML/MathML

From: <fred.wang@free.fr>
Date: Tue, 12 Aug 2008 09:23:50 +0200
Message-ID: <1218525830.48a13a867ebc8@imp.free.fr>
To: www-svg@w3.org


In the "Guidelines for Graphics in MathML 2", Michael Kohlhase gives an example
where he uses a foreignObject to include mathematical formulae inside SVG
graphics, in combination with a <switch/> to provide an alternate text. The
requiredExtensions has the value "http://www.w3.org/1998/Math/MathML":


Similarly, when Amaya creates XHTML content in SVG, a
requiredExtensions="http://www.w3.org/1999/xhtml" is attached to a
<foreignObject/>. The problem is that these two possible values are not clearly
indicated in the specifications:


As a consequence, this use of <switch> to allow alternate content is quite
ironically a problem for interoperability because browsers behave differently:
1) Amaya can display MathML and XHTML inside SVG. It accepts
"http://www.w3.org/1998/Math/MathML" and "http://www.w3.org/1999/xhtml" values.
2) Firefox can display MathML and XHTML inside SVG, but since it refuses
"http://www.w3.org/1998/Math/MathML" and "http://www.w3.org/1999/xhtml" values,
it displays the alternate content.
3) Other browsers that can't render MathML/XHTML in SVG should display the
alternate content.

Can the SVG WG indicates in the spec that browsers able to display MathML and
XHTML inside SVG should recognize the two values
"http://www.w3.org/1998/Math/MathML" and "http://www.w3.org/1999/xhtml"?
Received on Tuesday, 12 August 2008 16:20:34 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:54:19 UTC