W3C home > Mailing lists > Public > www-math@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....

Blech!

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

Or, for that matter, maybe they
_meant_
  <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),
etc...
So, the most sensible interpretation would be
your first case.

> XML and HTML are too different languages.
> 


-- 
bruce.miller@nist.gov
http://math.nist.gov/~BMiller/
Received on Wednesday, 2 April 2008 16:04:34 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 20 February 2010 06:13:01 GMT