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

[whatwg] The problems with namespaces in text/html

From: Anne van Kesteren <fora@annevankesteren.nl>
Date: Sun, 05 Nov 2006 15:56:45 +0100
Message-ID: <op.tijs4v2gaw9dld@id-c0020>
On Sun, 05 Nov 2006 15:48:59 +0100, Elliotte Harold  
<elharo at metalab.unc.edu> wrote:
>>> Browser vendors can handle XHTML now. It's a non-issue for them.
>>  Working for one I can assure you it's very much an issue.
> Looking at http://www.opera.com/docs/specs/ it seems like you do a  
> pretty good job. :-)
> certainly there's new stuff in HTML 5 that will require new code to  
> support; but do you really think a few namespace prefixes will make it  
> harder to do that?

I have no idea how namespace prefixes would work in an HTML parser.  
Perhaps you can take a look at  
http://www.whatwg.org/specs/web-apps/current-work/#parsing and see what  
might need to be done to make that namespace prefix compatible? I  
personally don't really see value in adding any kind of namespace syntax  
to HTML.

Note that you can't rely on well-formedness in the parser and that you  
need to handle all error cases as well in a way that doesn't cause a  
"yellow screen of death" to be generated.

Anne van Kesteren
Received on Sunday, 5 November 2006 06:56:45 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:49 UTC