You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Slattery, Tim - BLS" <Sl...@bls.gov> on 2007/09/05 17:02:40 UTC

XHTML compliance

OK, I removed the <type> attribute in the struts-html-el.tld in Struts
1.3.8, and it runs.

Now....I'm trying to use xhtml. I use this:

<html-el:html xhtml="true" lang="false">

And it generates this:

<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US"
xml:lang="en-US">

The lang="en-US" is in there whether I specify lang="true", lang="false"
or omit the lang attribute entirely from the html-el:html statement. The
markup validation service at http://validator.w3.org/ says that there is
no "lang" attribute in the html tag in xhtml.

Is it possible to get Struts to create 100% compliant xhtml?


--
Tim Slattery
Slattery_T@bls.gov


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


RE: XHTML compliance

Posted by "Slattery, Tim - BLS" <Sl...@bls.gov>.
> Please check the ticket list for Struts 1.4. If you find this 
> very issue there (I think it is) and you need it in 1.3, I 
> can back port it for 1.3.10

I don't know how to do that. I see no link on the Struts page to a
ticket list or to Struts 1.4.

--
Tim Slattery
Slattery_T@bls.gov


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: XHTML compliance

Posted by Paul Benedict <pb...@apache.org>.
Please check the ticket list for Struts 1.4. If you find this very issue
there (I think it is) and you need it in 1.3, I can back port it for 1.3.10

Paul