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

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 UTC