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: Sun, 5 Nov 2006 21:34:37 +0200
Message-ID: <4E779EA0-1737-4245-892A-80E737422663@iki.fi>
On Nov 5, 2006, at 14:12, Elliotte Harold wrote:

> If you don't have xmnls and xmlns:prefix then there are no  
> namespaces, period.

If my parser tells your ContentHandler that there is a namespace,  
then there is. Your ContentHandler doesn't get to see any source bytes.

If my parser gives your code a XOM tree with namespaces, then there  
are namespaces. Again, your code doesn't get to see how the  
namespaces ended up there.

> All we have is the document's text. This is what must be defined.  
> If there are no namespaces in the text, then there are no namespaces.

There are no namespaces in any text unless a parsing spec creates  
such a notion.

Henri Sivonen
hsivonen at iki.fi
Received on Sunday, 5 November 2006 11:34:37 UTC

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