Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 30764 invoked from network); 28 Aug 2009 01:09:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 28 Aug 2009 01:09:37 -0000 Received: (qmail 3834 invoked by uid 500); 28 Aug 2009 01:09:37 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 3730 invoked by uid 500); 28 Aug 2009 01:09:37 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@cocoon.apache.org List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 3722 invoked by uid 99); 28 Aug 2009 01:09:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Aug 2009 01:09:37 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of williamstw@gmail.com designates 209.85.217.207 as permitted sender) Received: from [209.85.217.207] (HELO mail-gx0-f207.google.com) (209.85.217.207) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Aug 2009 01:09:29 +0000 Received: by gxk3 with SMTP id 3so2033984gxk.14 for ; Thu, 27 Aug 2009 18:09:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:cc:content-type; bh=0+/6dbq22yTKHAht/mokoQaqsz6avkb84wzEYJdzzzM=; b=Y/zRaQi8xIVgKdsOHOapZzJlq8kaPF0r7RpK9IjpyHi1cU8uULKPtGD+ZOHjvPHDuv 5loYIUhrUQn8/PHgx+PAnBfnlMtwaa96ohHF2jEqNwmRTXu4ke+yshvLSOC0BaMd8lmz /L5/PKjlkKW1C2p8KN3JvkC8yHFOy1URw4VdA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; b=TifS2mu4MEgDUIqlJhNMIVBfVEl3xAdWsJg3DtQOEgNQNtK74Ozp2Z3g4MXOT2RUnF xlsUFGp+urEjR91CgEpVuuJLk6kUOSAKT7hept2T1Ri7nXiylgP8AND9XsCae/r7ZUvp CWOjHdfDdQS8T62gt5AfTLwnRiu8Dy4QNIWPg= MIME-Version: 1.0 Received: by 10.150.44.12 with SMTP id r12mr1027595ybr.2.1251421748388; Thu, 27 Aug 2009 18:09:08 -0700 (PDT) Date: Thu, 27 Aug 2009 21:09:08 -0400 Message-ID: <499888440908271809h5a769d7bjfa786245546c8645@mail.gmail.com> Subject: XPathXMLFileModule differences From: Tim Williams To: dev@cocoon.apache.org Cc: "dev@forrest" Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Is the new XPathXMLFileModule not a drop-in replacement for the XMLFileModule? I'm wondering if we may have been depending on some [?undocumented?] lazy-loading behavior of the old one or something. In the xconf file I have: Leading to complaints of the absence of a src attribute. Our " It seems that the old version doesn't assume the file element exists in the configure method: Configuration[] files = config.getChildren("file"); for (int i = 0; i < files.length; i++) { but the new one does... Configuration fileConfig = config.getChild("file"); this.src = fileConfig.getAttribute("src"); I admit that I've been away from forrest for some time so perhaps there's something I'm missing here? Any pointers appreciated... Thanks, --tim