As the ticket said, I am contemplating an xhtmlVersion attribute. For example:
<html:html xhtml="true"> <html:html xhtmlVersion="1.0"> <html:html xhtmlVersion="1.1"> <html:html xhtmlVersion="2.0"> (yes, 2.0 exists as a proposed spec!) The first two are equivalent. Otherwise, the version can dictate how attributes are rendered. What do you think? Paul On 9/6/07, Slattery, Tim - BLS <[EMAIL PROTECTED]> wrote: > > > And also: > > https://issues.apache.org/struts/browse/STR-2598 > > This is exactly what I'm talking about. I wasn't aware that the "lang" > attribute disappeared form xhtml between version 1.0 and 1.1, I guess > that's where the problem arose. > > One poster said "Current browsers don't even handle XHTML 1.0 properly > so moving to 1.1 isn't workable." There's a good deal of truth there, > there's no browser I'm aware of that enforces strict xhtml compliance > when it sees a DOCTYPE statement specifying xhtml. If a browser did > that, I think that a *lot* of pages that claim to be xhtml would fail. > > But this seems to me a simple fix, and I wonder if there's any plan to > put it in? > > > -- > Tim Slattery > [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >