W3C home > Mailing lists > Public > public-html@w3.org > April 2008

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

From: David Carlisle <davidc@nag.co.uk>
Date: Wed, 2 Apr 2008 17:03:19 +0100
Message-Id: <200804021603.m32G3J4J021423@edinburgh.nag.co.uk>
To: news@terrainformatica.com
Cc: public-html@w3.org, www-math@w3.org

> 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,


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

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:15:32 UTC