> XML compliant HTML is XHTML

I'm not sure that this is entirely true... for example, you could write an
XML DTD for HTML that allowed for capital "<BODY>".  This would allow you to
write HTML that is XML compliant.... XHTML only allows "<body>".

XHTML is merely a reformulation of HTML in XML.. they (w3c) decided to use
lowercase letters, stripped out presentational elements (<font>, etc).

If you rearrange your original statement, i think it is true:

        XHTML is XML compliant HTML

> I don't think we need the xhtml attribute for 
> the tag anymore.  Because xhtml works in current and older browsers,
> I think the tags should produce it every time.  Many people do 
> not use the <html:html> tag so it doesn't make sense to require that 
> to use xhtml.

agreed .. i think that all the tags should output XHTML.  As far as i know,
anything that is valid in XHTML will also be valid in HTML, so it shouldn't
cause any backwards compatibility problems for people who are still using
HTML 4.0 or 3.2 or whatever.

---
- Nayan Hajratwala
- Chikli Consulting LLC
- http://www.chikli.com


-----Original Message-----
From: David Graham [mailto:dgraham1980@;hotmail.com]
Sent: Tuesday, October 22, 2002 10:24 AM
To: [EMAIL PROTECTED]
Subject: Re: HTML, XML, XHTML and <html:html>


XML compliant HTML is XHTML.  I don't think we need the xhtml attribute for 
the tag anymore.  Because xhtml works in current and older browsers, I think

the tags should produce it every time.  Many people do not use the 
<html:html> tag so it doesn't make sense to require that to use xhtml.

David






>From: "Martin Cooper" <[EMAIL PROTECTED]>
>Reply-To: "Struts Developers List" <[EMAIL PROTECTED]>
>To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
>Subject: HTML, XML, XHTML and <html:html>
>Date: Mon, 21 Oct 2002 15:43:30 -0700
>
>I'm a little confused about what's going on with our HTML taglib. I see
>changes being made so that the tags always output valid XML, regardless of
>the value of the 'xhtml' attribute of the <html:html> tag.
>
>Have we decided that we don't need that attribute any more, and we'll just
>always output XHTML, or is there a difference that I'm missing between
>generating XML-compliant HTML and generating XHTML?
>
>--
>Martin Cooper
>
>
>--
>To unsubscribe, e-mail:   
><mailto:struts-dev-unsubscribe@;jakarta.apache.org>
>For additional commands, e-mail: 
><mailto:struts-dev-help@;jakarta.apache.org>


_________________________________________________________________
Get faster connections -- switch to MSN Internet Access! 
http://resourcecenter.msn.com/access/plans/default.asp


--
To unsubscribe, e-mail:   <mailto:struts-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-dev-help@;jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:struts-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-dev-help@;jakarta.apache.org>

Reply via email to