W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2006

[whatwg] The problems with namespaces in text/html (Was: MathML-in-HTML5)

From: Henri Sivonen <hsivonen@iki.fi>
Date: Sat, 4 Nov 2006 17:19:52 +0200
Message-ID: <76BF75AF-BB36-44FD-B6FB-A661DEA67D34@iki.fi>
On Nov 4, 2006, at 13:15, Elliotte Harold wrote:

> 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.

I think that text/html conformance needs to be defined in such a way  
that everything that is meaningful can be conveyed through the SAX2  
ContentHandler interface (with qNames ignored) without violating any  
explicit or implicit parts of the API contract. It is unfortunate  
that the spec needs to focus on the DOM, because it is too late to  
replace the DOM in browsers with something less broken.

For interop, the behavior of browsers is specified to violate XML API  
contracts when it comes to non-conforming documents. The main problem  
that I see is writing the requirements for non-browser UAs in such a  
way that XML 1.0-based API contracts do not need to be violated but  
interop isn't harmed too much.

-- 
Henri Sivonen
hsivonen at iki.fi
http://hsivonen.iki.fi/
Received on Saturday, 4 November 2006 07:19:52 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:30 UTC