Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 13948 invoked from network); 25 Jul 2007 08:28:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Jul 2007 08:28:26 -0000 Received: (qmail 58592 invoked by uid 500); 25 Jul 2007 08:28:22 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 58471 invoked by uid 500); 25 Jul 2007 08:28:22 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 58460 invoked by uid 99); 25 Jul 2007 08:28:22 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Jul 2007 01:28:22 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [83.223.124.7] (HELO albatros.unitedhosting.co.uk) (83.223.124.7) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Jul 2007 01:28:20 -0700 Received: from www.oopsconsultancy.com (localhost.localdomain [127.0.0.1]) by albatros.unitedhosting.co.uk (8.13.1/8.13.1) with ESMTP id l6P8RvRU016245 for ; Wed, 25 Jul 2007 09:27:57 +0100 Received: from 62.129.121.63 (SquirrelMail authenticated user bagnew@oopsconsultancy.com) by www.oopsconsultancy.com with HTTP; Wed, 25 Jul 2007 09:27:57 +0100 (BST) Message-ID: <17593.62.129.121.63.1185352077.squirrel@www.oopsconsultancy.com> In-Reply-To: <118151.26123.qm@web30208.mail.mud.yahoo.com> References: <118151.26123.qm@web30208.mail.mud.yahoo.com> Date: Wed, 25 Jul 2007 09:27:57 +0100 (BST) Subject: Re: Question about usage From: "Brian Agnew" To: "Ant Users List" User-Agent: SquirrelMail/1.4.5 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Checked: Checked by ClamAV on apache.org You really need the DTDs PUBLICID for xmlcatalog (see http://ant.apache.org/manual/CoreTypes/xmlcatalog.html) but you don't appear to have that in your DTD selection below. I'm not au fait with but I don't believe that it'll work with just a SYSTEM identifier. Brian On Wed, July 25, 2007 03:53, Ninju Bohra wrote: > Hello all, > > I've been given a directory of XML files that I need to process. All the > files have the following text at the top > > > > > > > . > . > . > > Now I am planning to proces the files using the cool (see > http://www.oopsconsultancy.com/software/xmltask/ for more info) to process > the file. > > However the problem is that I need to 'redirect' (or ignore) the DTD > entry..since it will not be findable at the path specified in the file > during processing > > I tried the following: > > > location=3D"${source.dir}/application.dtd"/> > > > and then referencing the 'id' from within the like this: > > > > > > . > . > . > > > > However it does not work. I still errors stating that it can't find the > application.dtd (in the original location) > > I have copy of the DTD file (in a different path) so how can I either > redirect where the DTD is picked from (without modifying the file) or can > I tell ANT to 'ignore' the DTD entry. > > Thanx, > > Ninju > > > > ____________________________________________________________________________________ > Got a little couch potato? > Check out fun summer activities for kids. > http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities+for+kids&cs=bz > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > > -- Brian Agnew http://www.oopsconsultancy.com OOPS Consultancy Ltd Tel: +44 (0)7720 397526 Fax: +44 (0)20 8682 0012 --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org