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

Bruce Miller wrote:
> 
> Henri Sivonen wrote:
>> Indeed. I think supporting "/>" in SVG subtrees is a must. MathML 
>> subtrees probably, too. I don't expect drastic compat problems, since 
>> tree differences shouldn't propagate too far with subsequent end tags 
>> taking care of things.
> 
> A minor question:
> Is handling <whatevertag/> in HTML5 really a problem?
> If the tag ends with />, just note that the element is empty
> (ie. has no content, whether or not it is officially an empty element),
> and move on.
> 
> _Surely_, no one out there is writing HTML using <whatevertag/>
> when they _dont_ mean to close the element?!?!?!
> (rolling my eyes :> )
> 
> But, I guess Hixie will have noticed if anyone _is_ doing that.
> 
> 

Consider this:

<a href=/folder/>something....

is it
   <a href="/folder/" >
or
   <a href="/folder" />
?

XML and HTML are too different languages.

-- 
Andrew Fedoniouk.

http://terrainformatica.com

Received on Wednesday, 2 April 2008 15:51:15 UTC