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





------- Additional Comments From [EMAIL PROTECTED]  2005-08-03 10:50 -------
Created an attachment (id=15862)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=15862&action=view)
svn diff patch fixing focus javascript generation

This bug does not seem to be fixed yet.  The fix was made to
JavascriptValidatorTag, whereas the bug seems to be around the generated focus
javascript in FormTag.

The bug report states that the focus javascript is not encased in xml comment
tags.  It also states that the particular javascript now contains '&&' so is no
longer xhtml compliant.

Looking at the log for FormTag revision 49880 contains a comment by dgraham
when he added the xhtml code originally 'Note that I didn't enclose the script
in a CDATA section because it doesn't use < or &.'.  Later on in revision 50693
the && was added, making the script no longer compliant.

I have included a patch against the svn head which wraps the focus javascript
in a cdata section, as well as adding a cactus test which tests the fix.  I had
to add two more dependencies to project.xml to get the cactus tests running -
xdoclet-ejb-module and xdoclet-apache-module (since the struts-config.xml
wasn't being generated).

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to