[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Partyin' like it's 1999


Re:  Partyin' like it's 1999

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
________________________________________________________________________

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.