Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 89257 invoked from network); 26 Jun 2005 00:22:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 26 Jun 2005 00:22:47 -0000 Received: (qmail 44519 invoked by uid 500); 26 Jun 2005 00:22:36 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 44502 invoked by uid 500); 26 Jun 2005 00:22:36 -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 44486 invoked by uid 99); 26 Jun 2005 00:22:36 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 25 Jun 2005 17:22:36 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [209.226.175.34] (HELO tomts13-srv.bellnexxia.net) (209.226.175.34) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 25 Jun 2005 17:22:36 -0700 Received: from [192.168.0.2] ([65.94.230.200]) by tomts13-srv.bellnexxia.net (InterMail vM.5.01.06.10 201-253-122-130-110-20040306) with ESMTP id <20050626002230.IYJY25800.tomts13-srv.bellnexxia.net@[192.168.0.2]> for ; Sat, 25 Jun 2005 20:22:30 -0400 Message-ID: <42BDF557.7000308@aladin.ca> Date: Sat, 25 Jun 2005 20:22:47 -0400 From: Aladin Alaily User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Struts Users Mailing List Subject: Re: configure DTD version to use for validation of struts-config References: <1119729757.10081.8.camel@localhost.localdomain> In-Reply-To: <1119729757.10081.8.camel@localhost.localdomain> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi Nicole, You have a typo. You don't want global-exceptionS but rather global-exception. Remove the S and everything should work. Aladin nicole.wollgast wrote: > Hi, > > I am using struts and have a struts-config.xml that is valid against > struts-config_1_1.dtd (I checked it with xmlstarlet, that it is > definitely valid). > Now when starting my application I get the error: > > Parse Error at line 91 column 25: Element type "global-exceptions" must > be declared. > > global-execption is contained in struts-config_1_1.dtd, but not in > version 1.0. So obviously struts validates against the wrong version. > The doctype in struts-config.xml sais, that it uses version 1.1. So why > is struts using the wrong version? > > Any ideas? > > Regards > Nicole > > > --------------------------------------------------------------------- > 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