Return-Path: X-Original-To: apmail-struts-issues-archive@minotaur.apache.org Delivered-To: apmail-struts-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 59D459808 for ; Wed, 4 Apr 2012 07:37:03 +0000 (UTC) Received: (qmail 8360 invoked by uid 500); 4 Apr 2012 07:37:03 -0000 Delivered-To: apmail-struts-issues-archive@struts.apache.org Received: (qmail 8336 invoked by uid 500); 4 Apr 2012 07:37:03 -0000 Mailing-List: contact issues-help@struts.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@struts.apache.org Delivered-To: mailing list issues@struts.apache.org Received: (qmail 8320 invoked by uid 99); 4 Apr 2012 07:37:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Apr 2012 07:37:03 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Apr 2012 07:37:00 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 8A234357FFF for ; Wed, 4 Apr 2012 07:36:39 +0000 (UTC) Date: Wed, 4 Apr 2012 07:36:39 +0000 (UTC) From: "zhouyanming (Commented) (JIRA)" To: issues@struts.apache.org Message-ID: <113329654.10660.1333524999664.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (WW-3429) tag generated by produce HTML warning in validators MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/WW-3429?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13246092#comment-13246092 ] zhouyanming commented on WW-3429: --------------------------------- it will break backword compatibility > tag generated by produce HTML warning in validators > ------------------------------------------------------------------------ > > Key: WW-3429 > URL: https://issues.apache.org/jira/browse/WW-3429 > Project: Struts 2 > Issue Type: Bug > Components: Core Interceptors, Other > Affects Versions: 2.1.8.1 > Environment: Apache Tomcat 5.5, 6.0.18 running on Win 32 and Fedora Code Linux x86_64. Actually, bug is relevant to any environment. > Reporter: Alexey Malev > Assignee: Lukasz Lenart > Priority: Minor > Labels: checkbox, hidden, html, input, warning > Fix For: 2.3.x > > Attachments: CheckboxInterceptor.java, checkbox.ftl, diff.txt > > > tag with default xhtml theme produce an tag, like that one: > > produces HTML Tidy validator warning about an attribute name and ID starting with two "_" signs. So, here is a patch I suggest to resolve this issue: > I changed FreeMarker template and a checkbox interceptor code in such a way that prefix of that input no longer produce warning. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira