Re: several messages about New Vocabularies in text/html

> So e.g.:
> 
>    <math><b>
> 
> ...is treated as:
> 
>    <math></math><b>


While this is a lot better than not allowing math at all (or not
allowing xml markup in semantic annotations), it is incompatible with
(and less useful than) what is implemented in mozilla for xhtml+mathml
where
<math><mtext><b>foo
is treated as
<mathml:math><mfrac><mathml:mtext><xhtml:b>foo

and renders the text in bold in a fraction (which could have been done
as pure mathmnl, or perhaps form elements are used (which can't be done
in pure mathml)

> The key to avoiding the problem is the variant on Simon's idea, which is 
> to hard-code all the HTML element names and cause them to automatically 
> close the "namespaced" scope.

I still don't see why they can't be recognised and go back to a
(nested) html 

> In practice, new elements and attributes don't just get supported in 
> browsers without someone having to write code to support them, and so 
> requiring that the person implementing the feature also add another 
> special case to a table in their parser is a non-issue.

That assumes that all browsers will use a monolithic model like mozilla
where the rendering is being implemented natively or being accessed by
specific extension elements such as <object>. There is another model,
which has its problems certainly, but is potentially more flexible,
where the browser's parser only has to be able to parse the tree (without
special knowledge of all the tags involved) but that specific elements
are handled by external processors. this is of course the model IE
uses. the details of how one registers the external procesors to handle
specific elements are arcane (and apparemntly changing again for IE8)
but the design of html5 shouldn't preclude (or force) this design.

David




________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________

Received on Friday, 4 April 2008 08:57:13 UTC