Return-Path: Delivered-To: apmail-jakarta-lucene-user-archive@apache.org Received: (qmail 98865 invoked from network); 14 Feb 2003 20:08:51 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 14 Feb 2003 20:08:51 -0000 Received: (qmail 5894 invoked by uid 97); 14 Feb 2003 20:10:28 -0000 Delivered-To: qmlist-jakarta-archive-lucene-user@nagoya.betaversion.org Received: (qmail 5887 invoked from network); 14 Feb 2003 20:10:27 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 14 Feb 2003 20:10:27 -0000 Received: (qmail 98572 invoked by uid 500); 14 Feb 2003 20:08:49 -0000 Mailing-List: contact lucene-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Lucene Users List" Reply-To: "Lucene Users List" Delivered-To: mailing list lucene-user@jakarta.apache.org Received: (qmail 98561 invoked from network); 14 Feb 2003 20:08:48 -0000 Received: from web20807.mail.yahoo.com (216.136.226.196) by daedalus.apache.org with SMTP; 14 Feb 2003 20:08:48 -0000 Message-ID: <20030214200853.40659.qmail@web20807.mail.yahoo.com> Received: from [24.218.230.104] by web20807.mail.yahoo.com via HTTP; Fri, 14 Feb 2003 12:08:53 PST Date: Fri, 14 Feb 2003 12:08:53 -0800 (PST) From: icewind Subject: indexing xml files with relative links to dtds To: lucene-user@jakarta.apache.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, I am using Lucene to index a collection of XML documents. Each XML document a relative pathname to a DTD file in the DOCTYPE tag. The problem is that the relative path names are resolved relative to where I run the indexer class rather than relative to XML file being parsed, which is the correct behavior. I am using Xerces to parse the XML files. Has anyone run into this problem? Is there a way to change the working directory (as in the chdir() system call)? Is this something that I have to set up with the parser itself or at the JVM level? Thanks for any suggestions.. __________________________________________________ Do you Yahoo!? Yahoo! Shopping - Send Flowers for Valentine's Day http://shopping.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: lucene-user-help@jakarta.apache.org