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

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

From: Bruce Miller <bruce.miller@nist.gov>
Date: Wed, 02 Apr 2008 12:03:25 -0400
To: Andrew Fedoniouk <news@terrainformatica.com>
Cc: Henri Sivonen <hsivonen@iki.fi>, Simon Pieters <simonp@opera.com>, Ian Hickson <ian@hixie.ch>, Sam Ruby <rubys@us.ibm.com>, Neil Soiffer <Neils@dessci.com>, public-html@w3.org, www-math@w3.org
Message-id: <47F3AE4D.4030808@nist.gov>

Andrew Fedoniouk wrote:
> Consider this:
> <a href=/folder/>something....


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

Or, for that matter, maybe they
  <a href="/folder/>something">...
The fact that it's an invalid url doesn't
seem to be stop anyone...

Even so, just specify it:
Parse reads tagname, reads attribute-value pairs
(and since / is valid in the value, read it into the value),
So, the most sensible interpretation would be
your first case.

> XML and HTML are too different languages.

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

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