Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 17910 invoked from network); 5 Dec 2006 09:42:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Dec 2006 09:42:08 -0000 Received: (qmail 48998 invoked by uid 500); 5 Dec 2006 09:42:13 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 48719 invoked by uid 500); 5 Dec 2006 09:42:12 -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 48708 invoked by uid 99); 5 Dec 2006 09:42:12 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Dec 2006 01:42:11 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of james.abley@volantis.com designates 209.90.112.152 as permitted sender) Received: from [209.90.112.152] (HELO apps.volantis.com) (209.90.112.152) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Dec 2006 01:41:59 -0800 Received: from 213.86.197.1 by apps.volantis.com with ESMTP id 18562771165311381; Tue, 05 Dec 2006 02:36:21 -0700 Message-ID: <45753D92.1040906@volantis.com> Date: Tue, 05 Dec 2006 09:36:18 +0000 From: James Abley Reply-To: james.abley@volantis.com User-Agent: Thunderbird 1.5.0.8 (X11/20061117) MIME-Version: 1.0 To: Jan.Materne@rzf.fin-nrw.de CC: user@ant.apache.org Subject: Re: AW: AW: please update the next release of Ant 1.7 to Xerces 2.9.0 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org OK, going with the empirical approach rather than theorising about it! public class X { org.apache.xerces.parsers.XIncludeAwareParserConfiguration conf = new org.apache.xerces.parsers.XIncludeAwareParserConfiguration(); } That works for me, although I noticed something slightly surprising when I compiled using a 1.4 and 1.5 JDK. [javac] '-source' [javac] '1.3' ? Cheers, James Jan.Materne@rzf.fin-nrw.de wrote: >> Looks like it does... >> >> http://svn.apache.org/viewvc/xerces/java/trunk/build.xml?view=markup > > The compile target doesnt set a source and target level. > > > >> which uses an extended form of >> >> http://svn.apache.org/viewvc/xerces/java/trunk/tools/src/XJavac.java?vi > ew=markup > > > I cant see any implementation which sets the target to 1.2. > Quick test would be > public class X { > org.apache.xerces.parsers.XIncludeAwareParserConfiguration conf = > new org.apache.xerces.parsers.XIncludeAwareParserConfiguration(); > } > and compile under JDK 1.2 > > > > >> The class file version number (after pulling apart >> org.apache.xerces.impl.Version) is 45.3, which I think is good enough? >> >> http://java.sun.com/docs/books/vmspec/2nd-edition/html/ClassFile.doc.ht > ml#75883 > > > Maybe - just test ;-) > > > Jan --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org