Hi Matt,
I am not going to argue/discuss about it (it has been discussed many times and 
everybody has his own opinion or project requirements),
an ex colleague of mine has a nice writeup about xhtml, validation and why man 
should care about it:

http://www.grauw.nl/blog/entry/105

-m


________________________________________
From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Alan Burlison [EMAIL 
PROTECTED]
Sent: Friday, March 28, 2008 11:13 AM
To: Stripes Users List
Subject: Re: [Stripes-users] /> versus >

Matt Brock wrote:

> You'll spend more cycles looking up whether this tag is self-closing
> or that one isn't, when you could just say, heck with it, just follow a
> simple pattern that all the browsers will understand and leave the dogma at
> the doorstep.

http://www.hixie.ch/advocacy/xhtml

----------
  * The "/>" empty tag syntax actually has totally different meaning in
    HTML4. (It's the SHORTTAG minimisation feature known as NET, if I
    recall the name correctly.) Specifically, the XHTML

      <p> Hello <br /> World </p>

    ...is, if interpreted as HTML4, exactly equivalent to:

      <p> Hello <br>&gt; World </p>

    ...and should really be rendered as:

      Hello
      > World
----------

So shouldn't Stripes be preferring ">" over "/>", or is the issue that
HTML 4.01 browsers will cope OK with "/>" even though it is strictly
incorrect, whereas if we use ">" and not "/>" and someone *does* send a
XHTML 1.0 page with the correct MIME type (application/xhtml+xml) it
will blow up in the XML parser?

--
Alan Burlison
--

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to