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 02B5E6C6E for ; Tue, 19 Jul 2011 21:59:44 +0000 (UTC) Received: (qmail 10021 invoked by uid 500); 19 Jul 2011 21:59:41 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 9982 invoked by uid 500); 19 Jul 2011 21:59:41 -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 9974 invoked by uid 99); 19 Jul 2011 21:59:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Jul 2011 21:59:41 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of davelnewton@gmail.com designates 209.85.210.176 as permitted sender) Received: from [209.85.210.176] (HELO mail-iy0-f176.google.com) (209.85.210.176) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Jul 2011 21:59:33 +0000 Received: by iyi20 with SMTP id 20so6339113iyi.35 for ; Tue, 19 Jul 2011 14:59:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=sKCx11L5KI9MY7kz5+PlJG/ZKjS2EFs6iT1vxrRKiF0=; b=dlju0sDHMwG1MCyn/37ceFUMVHOx+UpUZCHp99SKWJDBN/+iU4WfMsXkhc5SgT6pCE KXRBPT3Kfipj7Nsbh9a/H2k6RHPsJd4ZudYA4NGr/n/Dac6WeejO9lApTUsIHhMfh5b8 rFD3isRXpiR7FfD0yzD9yt+85KZ1Dpvb2bKgA= MIME-Version: 1.0 Received: by 10.231.49.8 with SMTP id t8mr4770515ibf.27.1311112751346; Tue, 19 Jul 2011 14:59:11 -0700 (PDT) Received: by 10.42.222.131 with HTTP; Tue, 19 Jul 2011 14:59:11 -0700 (PDT) In-Reply-To: <4E25F459.4070403@christopherschultz.net> References: <4E0D38BF.6010005@christopherschultz.net> <4E25F459.4070403@christopherschultz.net> Date: Tue, 19 Jul 2011 17:59:11 -0400 Message-ID: Subject: Re: [S1] Validator configuration error [bump] From: Dave Newton To: Struts Users Mailing List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org If it works, I wouldn't worry about it. I'm not sure if anybody is planning any further 1.x releases, to be honest; maybe if a patch is filed against the ticket someone would apply it, but I'm not sure who (Paul, are you still doing S1 stuff?) Dave On Tue, Jul 19, 2011 at 5:17 PM, Christopher Schultz wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > All, > > Does anyone have any ideas about my post? > > - -chris > > On 6/30/2011 11:02 PM, Christopher Schultz wrote: >> All, >> >> struts-1.3.8 commons-validator-1.3.1 >> >> I recently started using a dynamic form attribute >> called "reset". It's documented to allow you to use either "true" or >> "false" or any combination of comma-separated HTTP methods that will >> trigger the form field to be blanked-out in the form before data from >> the request is applied to it. >> >> From struts-1.3.dtd: >> >> " > form-property =A0className =A0 =A0 =A0%ClassName; =A0 =A0 #IMPLIED> > form-property =A0initial =A0 =A0 =A0 =A0CDATA =A0 =A0 =A0 =A0 =A0 #IMPLI= ED> > form-property =A0name =A0 =A0 =A0 =A0 =A0 %PropName; =A0 =A0 =A0#REQUIRE= D> > form-property =A0reset =A0 =A0 =A0 =A0 =A0%Boolean; =A0 =A0 =A0 #IMPLIED= > > form-property =A0size =A0 =A0 =A0 =A0 =A0 %Integer; =A0 =A0 =A0 #IMPLIED= > > form-property =A0type =A0 =A0 =A0 =A0 =A0 %ClassName; =A0 =A0 #REQUIRED> >> >> The "reset" attribute is declared as "%Boolean;" which is: >> >> >> >> This causes the following errors during configuration: >> >> 2011-06-30 22:49:33,658 [main] ERROR >> org.apache.commons.digester.Digester- Parse Error at line 18 column >> 86: Attribute "reset" with value "POST" must have a value from the >> list "true false yes no ". org.xml.sax.SAXParseException: Attribute >> "reset" with value "POST" must have a value from the list "true false >> yes no ". >> >> I checked, and it does not look like there is an updated >> struts-1.3.x.dtd for me to use with any fix for this. >> >> Oddly enough, the configuration itself seems to load and work >> properly. Maybe Struts reports SAXParseExceptions but doesn't >> actually stop processing? The configuration works as expected... it >> just has this nasty configuration error whenever we start up. >> >> First, does anyone see a reason to worry about the error, given that >> everything seems to actually work. >> >> Second, since S1 hasn't seen a release since 2008, it is even worth >> filing a bug and getting it fixed if there isn't likely to be >> another 1.3.x release for a while? >> >> Thanks, -chris >> >> --------------------------------------------------------------------- >> >> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org >> For additional commands, e-mail: user-help@struts.apache.org >> > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.10 (MingW32) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAk4l9FkACgkQ9CaO5/Lv0PCzIQCfYYYJrbO+9u4tjEexFZs4jAIV > iq4AoICuGL1Heci8eqGScMCQgSiVL6TF > =3Dp6wC > -----END PGP SIGNATURE----- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org > For additional commands, e-mail: user-help@struts.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org