You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Raible, Matt" <Ma...@cable.comcast.com> on 2003/07/31 20:29:05 UTC

RE: XHTML 1.0 Strict, XHTML 1.1 and validation errors with form t ags

According to my tests, the JavaScript does not need to change to support
<form id=""> rather than <form name="">

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15023

Matt

-----Original Message-----
From: David Graham [mailto:grahamdavid1980@yahoo.com]
Sent: Thursday, July 31, 2003 11:56 AM
To: Struts Users Mailing List
Subject: Re: XHTML 1.0 Strict, XHTML 1.1 and validation errors with form
tags


--- jlord@equiplease.com wrote:
> Could someone provide a definitive answer on whether Struts 1.1 Final
> can
> actually generate compliant valid XHTML strict markup?
> 
> I have the <html:xhtml/> tag in my jsp's and the markup is great except
> for
> the <form> tag which is presented back to the browser.  I have checked
> the
> mail archive for this topic and haven't found this answer.  If it is
> possible to generate clean strict xhtml what am I missing to force the
> <form> tag to generate an id="X" attribute instead of a name="X"
> attribute
> in the form tag.

This is one area where XHTML strict is not supported yet.  I believe
there's an open enhancement request relating to the id vs. name issue.  I
haven't had time to look into the javascript changes required (if any) to
support this change.

David


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


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

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

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