W3C home > Mailing lists > Public > www-math@w3.org > November 2006

Re: The problems with namespaces in text/html (Was: MathML-in-HTML5)

From: Elliotte Harold <elharo@metalab.unc.edu>
Date: Sat, 04 Nov 2006 06:15:47 -0500
Message-ID: <454C7663.5060001@metalab.unc.edu>
To: Ian Hickson <ian@hixie.ch>
CC: dolphinling <lists@dolphinling.net>, www-math@w3.org, dev-tech-mathml@lists.mozilla.org, WHAT WG List <whatwg@whatwg.org>

Ian Hickson wrote:

>>> Some pages even have completely bogus namespaces on the root <html> 
>>> element, which would make the entire page screw up. 

Let the page screw up. The author will notice it and fix it. That's like 
saying some people mistype table as tabel and therefore we shoudl accept 
both spellings.

> Even worse, Office 
>>> HTML, of which there is a LOT on the Web, uses namespaces in a way to 
>>> trigger IE to do one thing, but relies on the other browsers *not* 
>>> handling the namespaces to make sure it all works everywhere. 

Can you elaborate on the specifics? If it's their custom office 
namespaces, I'm not too surprised.

>> Are there any reasons besides ease of use and misuse in tag-soup content 
>> that XML's namespace syntax shouldn't be added to HTML?
> 
> I can't think of any other reasons off-hand, no. But those reasons are so 
> big that I find it difficult to think of anything but those problems when 
> I consider namespaces, so it might just be that I'm not thinking clearly 
> enough to see the other problems.


I'm sorry. Those reasons are *TRIVIAL*. They are easily handled, and 
easily fixed. This isn't even close to some of the other things that 
have been successfully introduced to th Web in the last 10 years like 
JavaScript, CSS, tables, or frames. This is like being scared of a 
mouse, while ignoring the ravenous tiger behind your back.

We need namespaces. XML tools just don't work without them, and XML 
tools are about the only thing most developers not working for browser 
vendors have that can process this stuff. In fact, I think developers 
have voted with their feet to adopt the XML toolchain as the sensible 
way to process HTML. We must not throw the entire community of people 
who want to write code to generate and process Web pages over the side 
just to make life a teeny bit easier for people who hand author HTML in 
text editors.

-- 
´╗┐Elliotte Rusty Harold  elharo@metalab.unc.edu
Java I/O 2nd Edition Just Published!
http://www.cafeaulait.org/books/javaio2/
http://www.amazon.com/exec/obidos/ISBN=0596527500/ref=nosim/cafeaulaitA/
Received on Saturday, 4 November 2006 11:16:10 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 20 February 2010 06:12:59 GMT