[
Lists Home |
Date Index |
Thread Index
]
Len
> How do those browsers declare support for the
> namespaces?
In their documentation. mathml support is built in just as xhtml or
xhtml is.
> I like the IE means.
Well having some kind of scalable plugin architecture (as in IE) is
clearly a good thing. The mechansim of incorporating *ML into the
browser by taking the entre source tree of the browser, modifying it to
render *ML then persuading the browser maintainers that you are
trustworthy enough to check it back into the main branch clearly doesn't
scale to more than a couple of languages in addition to *html.
The specifics of the architecture in IE though are decidedly odd.
Despite being loosely based on xml namespaces you can only use the
behaviors feature when rendering non-xml html documents, the actual
namespace declaration is done in a microsoft specicfic pi (You might have
an xml namespaces declaration for the namespace as well, but it's the
Processing instruction that really matters) The binding of the
behaviour is really to a prefix rather to a namepace URI, and in
particular there has to be a prefix. You can't go
<html xmlns="xhtml namespace">
...
<math xmlns="mathml namespace">
the mathml (or at least its outer most element) has to be explitly
prefixed with whichever prefix is bound to the rendering behaviour.
Also there are some limitations in the way the renderer can communicate
with the page layout engine. Specifically for mathml, in the native
rendering in moz, inline mathml expressions can take part in the line
breaking in a paragraph (as is normal in mathematical documents)
whereas IE only lets the rendering behaviour negotiate a rectangualar
area (as far as I understand) which means that it just acts as a big
single box as far as the linebreaking css layout rules for the
surrounding paragraph go.
What's needed is some generic portable interface to a plugin
architecture that works. I wish
http://lists.w3.org/Archives/Public/public-cdf/
showed a bit more excitement/activity on the subject of compound
documents:-)
David
________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
|