Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 61203 invoked from network); 20 Jun 2007 22:51:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Jun 2007 22:51:30 -0000 Received: (qmail 21209 invoked by uid 500); 20 Jun 2007 22:51:32 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 21174 invoked by uid 500); 20 Jun 2007 22:51:32 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 21163 invoked by uid 99); 20 Jun 2007 22:51:32 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jun 2007 15:51:32 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of ddevienne@gmail.com designates 66.249.92.174 as permitted sender) Received: from [66.249.92.174] (HELO ug-out-1314.google.com) (66.249.92.174) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jun 2007 15:51:28 -0700 Received: by ug-out-1314.google.com with SMTP id q2so439939uge for ; Wed, 20 Jun 2007 15:51:07 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=fAnH8DXjWJHpRBRGLJoC6UwO3XgJenB5MXYvDjtXqTDALrU0LpCyHIRo+cUi/2DT3iPFSjMxSkb6pSAMu8Yx8uDrj5W8I7pQBzDPT/iq1YoqKMIulUp54i27GDz2L22VQl49BzTp/VvQc8GA888DUfuEIfJkqj8y6GrjVoHyKxA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=YRCrfdzVlqSgbT79FOm5oDOomaUf8Cv1Q0gArBPsL4H6QXH5sRtRLXPuYIbVR8+JUMwi0AkAh7m3O0C7ap7ckTsO+9ZtX/yVFI9succpDyU7duXCbWUvLH9z8uqJ70uolm7zw7AvOzujltLWoK/fH9IB1PrS9/2vt+k4nr8E6g4= Received: by 10.82.112.16 with SMTP id k16mr2492034buc.1182379866885; Wed, 20 Jun 2007 15:51:06 -0700 (PDT) Received: by 10.82.127.18 with HTTP; Wed, 20 Jun 2007 15:51:06 -0700 (PDT) Message-ID: <255d8d690706201551q1bd6cc09u7f5f315e2470a8ea@mail.gmail.com> Date: Wed, 20 Jun 2007 17:51:06 -0500 From: "Dominique Devienne" To: "Ant Developers List" Subject: Re: xinclude for ant? In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <255d8d690706201524l47057f8u47fd8d60fc9d7a19@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org On 6/20/07, Peter Reilly wrote: > On 6/20/07, Dominique Devienne wrote: > > On 6/20/07, Peter Reilly wrote: > > > I have just realized that xinclude can be enabled easily using JAXPUtils: > > > + nsParserFactory.setXIncludeAware(true); > > > > Cool, but the Javadoc says @since 1.5, so you'd have to use reflection. > > No problem. > Alternatively, I think that we can use the feature setting method to enable it: > http://xerces.apache.org/xerces2-j/features.html#xinclude Isn't that parser specific though? I know we ship with Xerces, but as we supposed to be parser agnostic or not? Then again since setting a Xerces system property is a no-op for any other parser, it should matter much I guess. --DD --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org