[whatwg] repetition model

Malcolm Rowe malcolm-what at farside.org.uk
Tue Jun 22 00:05:48 PDT 2004


Jim Ley wrote:

>> Could you cite the bit where the HTML WG say that text/html cannot
>> contain namespaces 
>
Namespaces aren't defined for text/html content. That's not to say you 
can't have an element called "foo:bar" (which I think is what you seem 
to be assuming Ian is suggesting), but that there's nothing in HTML that 
allows you to interpret what the 'namespace' of that element is.

Since XForms depends upon XML namespaces (among other things - XPath and 
XML Schemas also come to mind), it's impossible to represent an XForms 
document as HTML, since, per the note that Ian quoted, an element 
<foo:bar> must be interpretted according to the semantics defined by 
text/html, and that means "a tag callled 'foo:bar'", not "an element 
'bar' in the 'foo' namespace."

Regards,
Malcolm

(resent, forgot to copy the list)



More information about the whatwg mailing list