You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2004/10/01 07:14:41 UTC

DO NOT REPLY [Bug 31501] New: - html:form focus generates non-XHTML

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31501>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31501

html:form focus generates non-XHTML

           Summary: html:form focus generates non-XHTML
           Product: Struts
           Version: 1.2.4
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Custom Tags
        AssignedTo: dev@struts.apache.org
        ReportedBy: rmcinnes@civica.com.au


The generated javascript when using 
<html:form focus="username" ...etc
is not encased in <!-- XML comment tags -->
Because this particular javascript contains "&&" the document is no longer 
XHTML compliant.
This is the case even when you have <html:html xhtml="true"> and <html:xhtml/> 
in the JSP.
Note, this is actually happening inStruts 1.2.2 but wasnt an option on the bug 
reporting page.

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