Question 1. What Are The Goals Of Mathml?
The principal goal of MathML is to enable mathematics to be served, received, and processed on the Web, just as HTML has enabled this functionality for text. In more detail, MathML is intended to:
- encode mathematical material suitable for teaching and scientific communication at all levels.
- encode both mathematical notation and mathematical meaning.
- facilitate conversion to and from other math formats, both presentational and semantic.
- allow the passing of information intended for specific renderers and applications.
- support efficient browsing for lengthy expressions.
- provide for extensibility.
- be well suited to template and other math editing techniques.
- be human legible (though it is very verbose), and simple for software to generate and process.
Question 2. Who Are The Intended Users?
MathML is intended to be used (indirectly usually) by everyone from high-school mathematics students to academics and engineers in industry (These categories are not necessarily distinct !). It also provides an interchange mechanism between applications processing mathematical representation in some form.
Question 3. Why Do The Goals Of Mathml Go Beyond The Display Of Mathematical Expressions?
The Web represents a fundamental change in the underlying metaphor for knowledge storage, a change in which interconnectivity and interactivity play central roles. The intention is to provide ways of communicating mathematics which, in addition to rendering mechanisms, facilitate automatic processing, searching and indexing, and reuse in other mathematical applications and contexts. This includes contexts where the underlying mathematical semantics are important, such as, for example, in a distance learning course in Linear Algebra.
Question 4. Mathml Is Verbose – I Edit Html By Hand With Emacs, And Mathml Looks Tedious To Read And Edit In Text Form?
True! The verbosity of MathML is largely a consequence of the WG decision to use XML as the base syntax. The reasons for doing this include standardisation, availability of tools and the general tendency of web-based applications to use XML as a carrier format. The downside is that the encodings become verbose for examples of any complexity, with resulting requirements on tools for MathML generation and manipulation.
Question 5. Backwards Compatibility – Why Has Mathml Not Reused Tex/latex, Or The Sgml Dtds Iso 12083 Or Aap Math?
TeX and LaTeX are very widely used for encoding mathematical expressions. However, they encode only the surface presentation of an expression, and do not encode either semantic information or structural information. One of the WG goals is to provide a presentation mechanism that not only has the expressive capabilities of TeX, but also has enough information in it so that the presentation is:
- accessible to the visually impaired;
- capable of doing a good job of linebreaking expressions, since the author can not know the window size and font size in which the MathML should render.
In addition to a presentation interface, it is necessary to provide mechanisms for encoding mathematical semantic content, and controlling the interface between the embedded MathML fragment and the browser processing the containing page. We also considered that it was preferable for a document with embedded mathematical formulas to require only one type of parser rather than having a completely different type of encoding for the mathematics level.
SGML DTDs are oriented towards entire documents governed by one DTD rather than math fragments within Web pages. Apart from the work done on the development of a ‘Semantic Maths DTD fragment’ within the ISO 12083 working group (not part of the standard), existing SGML DTDs are presentation-oriented and lack support for content encoding.
Question 6. Does The Verbose Mathml Syntax Takes A Long Time To Transfer Across The Net And Parse?
By comparison with existing image based methods of embedding math(s) in web pages, for example GIF files, MathML is relatively quick to transfer and process.
Question 7. Mathml Is Xml-based. Will The Browser Manufacturers Support Xml Fully? Will They Support Mathml Natively?
Yes. Both Microsoft and Netscape have publicly declared support for the XML recommendation. Some XML support is already available for IE 4. As the browser manufacturers move toward fuller support of XML and the associated style sheet standards such as XSL that are developing, support for MathML will become more “native”.
Question 8. Can I Embed Applet, Embed Or Object Tags Within Mathml?
MathML is defined as an XML application, so there is no special support for embedding web objects within MathML fragments. You can use APPLET and EMBED in the containing HTML page to launch an applet or plugin to render and process a MathML fragment or file.
Question 9. Does The Wg Still Intend To Develop A Short Form Input Syntax As Part Of Mathml?
During the development of MathML it has become clear that the requirements on input syntaxes vary so widely that no single syntax will satisfy all users. Various members of the WG have developed input syntaxes for their particular tools. The WG will provide technical advice to all those who are involved in the development of input syntaxes for MathML-aware tools. Input syntaxes do not form part of the core MathML recommendation.
Question 10. Can I Overload The Presentation For Content Elements – For Instance, Can I Render As ‘j’?
Yes, you can use the semantics element to attach a preferred presentation (encoded in MathML presentation elements) as an annotation-xml.
Question 11. Why Is Math(s) Difficult To Render In A Browser. Microsoft Equation Editor Has No Difficulty Rendering Math(s)?
The main problem is that existing browsers don’t provide an adequate interface for third-party software used to render such as plugins, applets or ActiveX controls. It is hoped this will be solved as a result on work on the next generation of HTML, DOM and CSS. In addition, with due respect to a successful piece of software, it cannot be said that Equation Editor provides math presentation of the highest quality or gives widely portable results.
As an example of the kinds of problems faced: The rendering code for an embedded piece of mathematics would like to use a font size and family that matches the font used for the rest of the document’s text. The plugin would like to control the vertical positioning for a math expression relative to the baseline of the text line in which the math is placed. The plugin would like to negotiate the height and width for the math object according to the space needed and not have this fixed at authoring time. At present, because of the lack of a way of communication between embedded objects and the containing document, none of these requirements can be met.
A richer model for the rendering objects that compose a document, that doesn’t treat plugins as impoverished distant relatives will go a long way to solving the problems.
Question 12. Has The Unicode Consortium Accepted The Additional Characters Proposed By The Wg?
Yes, all characters for which MathML defines entities are in Unicode since version 5.
Question 13. Is Automatic Translation To And From Latex Possible? Is There Anything Available Which Does It?
Generation of MathML from that in LaTeX documents (presentation and content) is certainly possible. Organisations working on this problem include University of Western Ontario, and the AMS and SIAM.
Question 14. I Am A Content Provider (e.g. A Technical Publisher). (why) Should I Convert My Legacy Data To Mathml. How?
The usual dilemma with emerging standards: content is useless without tools to create and manipulate it, and tool vendors are reluctant to embark upon costly developments when the market for the product is unclear. However, there are already a number of tools under development.
Another important issue is the general trend of web-based applications towards the use of XML as a carrier format. MathML is the only ‘standard’ XML DTD for maths on the Web. Indeed, the working group of the ISO 12083 committee considers that MathML could be an appropriate ‘plugin’ mathematics module in a future modular version of the 12083 standard.
Question 15. To What Extent Has Mathml Been Accepted By The Public And Industry Outside The W3c Math Wg And Its Friends? What Is Being Done To Further This?
One of the tasks of the re-chartered W3C Math WG is to promote the adoption of MathML in industry and academia.
XML Interview Questions
HTML 5 Interview Questions
HTML 5 Tutorial
J2EE Interview Questions
XHTML Interview Questions
Document Type Definition (DTD) Interview Questions
XML Interview Questions
Java XML Interview Questions