Tim Fennell wrote:

I'm not completely up on this but aren't there cases
> where you just cannot generate HTML that is valid HTML 4.0 and valid 
> XHTML at the same time?

Yes.  In general HTML parsers are more lenient and will accept 'tag 
soup' but XHTML parsers won't.  Having said that, most web pages that 
purport to be well-formed XHTML aren't and the only reason they are 
rendered at all is because they are being served as the HTML text/html 
MIME type and not the XHTML application/xhtml+xml MIME type.  The 
problem is that if you *do* serve the pages with the XHTML MIME type, IE 
will refuse to display them at all and will pop up a download box 
instead.  Consequence: it is impossible in practice to use XHTML.

http://www.sitepoint.com/forums/showthread.php?t=393445

Personally I think XHTML is a disaster, and I've switched all my stuff 
back to HTML.

There was a recent thread on this, search for "/> versus >" in the 
subject line.  My own personal opinion is that Stripes should be 
emitting valid HTML by default, not XHTML, and in the case of 
self-closing tags (e.g. input tags) it isnt.  But that's just *my* 
opinion :-)

-- 
Alan Burlison
--

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to