Return-Path: X-Original-To: apmail-struts-user-archive@www.apache.org Delivered-To: apmail-struts-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 154F19F08 for ; Thu, 1 Mar 2012 17:05:10 +0000 (UTC) Received: (qmail 58236 invoked by uid 500); 1 Mar 2012 17:05:07 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 58213 invoked by uid 500); 1 Mar 2012 17:05:07 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 58205 invoked by uid 99); 1 Mar 2012 17:05:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Mar 2012 17:05:07 +0000 X-ASF-Spam-Status: No, hits=2.8 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jeffblacktn@gmail.com designates 209.85.160.48 as permitted sender) Received: from [209.85.160.48] (HELO mail-pw0-f48.google.com) (209.85.160.48) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Mar 2012 17:05:03 +0000 Received: by pbcup7 with SMTP id up7so1273905pbc.35 for ; Thu, 01 Mar 2012 09:04:42 -0800 (PST) Received-SPF: pass (google.com: domain of jeffblacktn@gmail.com designates 10.68.194.8 as permitted sender) client-ip=10.68.194.8; Authentication-Results: mr.google.com; spf=pass (google.com: domain of jeffblacktn@gmail.com designates 10.68.194.8 as permitted sender) smtp.mail=jeffblacktn@gmail.com; dkim=pass header.i=jeffblacktn@gmail.com Received: from mr.google.com ([10.68.194.8]) by 10.68.194.8 with SMTP id hs8mr4925224pbc.113.1330621482858 (num_hops = 1); Thu, 01 Mar 2012 09:04:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=1kp2jUgKgTGem6iuYsP/8ZM/JZAsBBQ9xKESDQOaWvs=; b=TNpf8o13u4juo8z4PifAqP3oAebET5m6nQmh72Uzdai4QrYThDV8RgKsGzIUlpJaIX 5WvnHHPqtKU7yJQWNz7Ts4JyXYJIM1M8o7VBHBMSNZZtxPX8oe8Q7Ife1XnAPPog+cLP XyTuFcwzcVBfZi/8hpES/63Y4Coz7q+TWDilE= MIME-Version: 1.0 Received: by 10.68.194.8 with SMTP id hs8mr4128228pbc.113.1330621482762; Thu, 01 Mar 2012 09:04:42 -0800 (PST) Sender: jeffblacktn@gmail.com Received: by 10.68.11.227 with HTTP; Thu, 1 Mar 2012 09:04:42 -0800 (PST) In-Reply-To: References: Date: Thu, 1 Mar 2012 11:04:42 -0600 X-Google-Sender-Auth: ZtqEjQjgw87LYMbnmY1cqESQ5aU Message-ID: Subject: =?windows-1252?Q?Re=3A_Validation_doesn=92t_honor_the_bundle_attribute_?= =?windows-1252?Q?in_http=3A=2F=2Fjakarta=2Eapache=2Eorg=2Fcommons=2Fdtds=2Fvalidator=5F1=5F3=5F0=2Edt?= =?windows-1252?Q?d?= From: Jeffrey Black To: Struts Users Mailing List Content-Type: multipart/alternative; boundary=047d7b15aeb3cf820c04ba317484 X-Virus-Checked: Checked by ClamAV on apache.org --047d7b15aeb3cf820c04ba317484 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Hi Joann, Can you please confirm what version of Struts you are using? You appear to be using Struts 2 for your application [1]; however it appears you are referencing Struts 1.x validation information. Perhaps I'm missing something? [1] http://struts.1045723.n5.nabble.com/How-to-implement-alternate-error-messag= es-in-the-Struts-validation-framework-Struts-2-0-1-4-td5522076.html Best, jb On Thu, Mar 1, 2012 at 8:59 AM, joann luo wrote: > Hello, > I am using http://jakarta.apache.org/commons/dtds/validator_1_3_0.dtd but > I > found it still does not honor =91bundle=94 attribute in the validation.xm= l. > > I need to display an alternate error message defined in a custom > bundle through the Struts validation framework instead of the default > error message. Based on the information provided from this early > thread, it should have been available since Validator 1.1.4. > > http://www.mail-archive.com/user@struts.apache.org/msg23694.html > If this is still not supported in validator_1_3_0.dtd, then is there any > way to implement this? > > > > > I appreciate any advice you may have. > > > > Thank you. > --047d7b15aeb3cf820c04ba317484--