Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 3455 invoked from network); 24 May 2006 21:13:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 24 May 2006 21:13:14 -0000 Received: (qmail 21092 invoked by uid 500); 24 May 2006 21:13:12 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 21077 invoked by uid 500); 24 May 2006 21:13:12 -0000 Mailing-List: contact user-java-help@ibatis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user-java@ibatis.apache.org Delivered-To: mailing list user-java@ibatis.apache.org Received: (qmail 21066 invoked by uid 99); 24 May 2006 21:13:12 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 May 2006 14:13:12 -0700 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: 216.58.160.194 is neither permitted nor denied by domain of clamey@localmatters.com) Received: from [216.58.160.194] (HELO vhost6.atomicservers.com) (216.58.160.194) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 May 2006 14:13:10 -0700 Received: from dev2lt.corp.localmatters.com (vi-303.aggm02.den01.viawest.net [216.38.216.222]) (authenticated (0 bits)) by vhost6.atomicservers.com (8.11.6/8.11.6) with ESMTP id k4OLCn610844 for ; Wed, 24 May 2006 15:12:49 -0600 Subject: RE: Not very useful error message From: Christopher Lamey To: user-java@ibatis.apache.org In-Reply-To: <20060524204249.4D6B0233F4@mprdmxin.myway.com> References: <20060524204249.4D6B0233F4@mprdmxin.myway.com> Content-Type: text/plain Date: Wed, 24 May 2006 15:12:48 -0600 Message-Id: <1148505168.3311.26.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 (2.2.3-2.fc4) 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 Hello, You could do something like this: # find src/xml -name "*.xml" | xargs xmllint > /dev/null xmllint would then write any errors, including the full path and file name, to non-redirected stderr. If you wanted the errors to go to a file: # find src/xml -name "*.xml" | xargs xmllint > /dev/null 2> xml_errors.txt Cheers, Chris On Wed, 2006-05-24 at 16:42 -0400, rs wrote: > > The problem is that one may have to *manually* open and look through 100+ mapping files to find the one(s) with error(s). Not a lot of fun. Keep in mind that an erroneous change may have been done by someone else. > > --- On Wed 05/24, Niels Beekman < n.beekman@wis.nl > wrote: > It would indeed be nice if iBATIS told you the file to look in, but this is just an XML validation error and should be easy to spot if you use a decent editor with DTD-validation > > > > > _______________________________________________ > No banners. No pop-ups. No kidding. > Make My Way your home on the Web - http://www.myway.com >