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

> Consider this:
> 
> <a href=/folder/>something....
> 
> is it
>    <a href="/folder/" >
> or
>    <a href="/folder" />
> ?
> 
> XML and HTML are too different languages.

Yes, so HTML5 will have rules to say whether the / there is part of the
attribute value or part of the tag, itneeds that anyway. I don't much
mind what the answer is. It must do this in any case.

If it is
<a href="/folder/" >
the the element is opened and hopefully closed later so the question of
teh meaning of /> doesn't arise.

If it is parsed as

<a href="/folder" />

then surely it should  generate an empty element,

David

________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________

Received on Wednesday, 2 April 2008 16:03:57 UTC