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 B14D911D13 for ; Fri, 11 Apr 2014 14:37:24 +0000 (UTC) Received: (qmail 72576 invoked by uid 500); 11 Apr 2014 14:37:24 -0000 Delivered-To: apmail-struts-issues-archive@struts.apache.org Received: (qmail 72336 invoked by uid 500); 11 Apr 2014 14:37:21 -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 71970 invoked by uid 99); 11 Apr 2014 14:37:19 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Apr 2014 14:37:19 +0000 Date: Fri, 11 Apr 2014 14:37:19 +0000 (UTC) From: "Lukasz Lenart (JIRA)" To: issues@struts.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (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:all-tabpanel ] Lukasz Lenart updated WW-3429: ------------------------------ Fix Version/s: (was: 2.3.18) 2.5 > 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.5 > > 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 was sent by Atlassian JIRA (v6.2#6252)