> -----Original Message-----
> From: Craig R. McClanahan [mailto:craigmcc@;apache.org]
> Sent: Tuesday, October 22, 2002 9:03 AM
> To: Struts Developers List
> Subject: Re: HTML, XML, XHTML and <html:html>
> 
> 
> 
> 
> On Tue, 22 Oct 2002, David Graham wrote:
> 
> > Date: Tue, 22 Oct 2002 08:24:08 -0600
> > From: David Graham <[EMAIL PROTECTED]>
> > Reply-To: Struts Developers List <[EMAIL PROTECTED]>
> > 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.
> >
> 
> I'd rather *not* make this kind of a potentially backwards 
> incompatible
> change immediately before a release (unless you make it 
> conditional on the
> "xhtml" attribute of the <html:html> tag being true).  The 
> problem is that
> we have no way to know how many existing Struts apps depend 
> on the current
> behavior, and this is a pretty serious change.

+1

I believe this is why we introduced the 'xhtml' attribute in the first
place. The catch is that if we always emit XHTML, there is *no* workaround
for the apps that we break, short of abandoning the Struts HTML tags.

We also have to consider that not all clients are browsers. I, for one, am
not going to claim that all HTML parsers out there are XHTML compatible.

> 
> I'm all for doing it post-1.1 though.

If we're going to emit only XHTML, I'd prefer to see this in a 2.0 rather
than a 1.2, because we'd be breaking backwards compatibility with earlier
1.x apps. Emitting either, though, controlled by the 'xhtml' attribute,
would be fine in a 1.x - even 1.1.

--
Martin Cooper


> 
> > David
> 
> Craig
> 
> 
> >
> >
> >
> >
> >
> > >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>



--
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