Re: "/>" (was Re: several messages about New Vocabularies in text/html

On Apr 2, 2008, at 19:21, David Carlisle wrote:
>> As it stands, it is not allowed in the conformance sense on any
>> element--only on "void elements" that have a canonically empty  
>> content
>> model.
>
> But I think you need to look at that again, that rule makes it  
> virtually
> impossible to embed other languages (even as annotations) without  
> having
> to have the language known in advance to the editor of the html spec.
>
>
> Even in mathml, it's not at all uncommon to see <mrow/> for example,
> just as in TeX you often see {}  when generating MathML (or TeX) you
> often add a group "just in case" and end up with nothing there.


I agree with making /> self-closing for elements that get put in the  
SVG and MathML namespaces. I think we shouldn't change the way things  
work for HTML elements.

-- 
Henri Sivonen
hsivonen@iki.fi
http://hsivonen.iki.fi/

Received on Wednesday, 2 April 2008 16:27:35 UTC