Return-Path: Delivered-To: apmail-jakarta-ant-dev-archive@apache.org Received: (qmail 48069 invoked from network); 23 Sep 2002 16:25:50 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 23 Sep 2002 16:25:50 -0000 Received: (qmail 2073 invoked by uid 97); 23 Sep 2002 16:26:24 -0000 Delivered-To: qmlist-jakarta-archive-ant-dev@jakarta.apache.org Received: (qmail 1902 invoked by uid 97); 23 Sep 2002 16:26:22 -0000 Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 1819 invoked by uid 98); 23 Sep 2002 16:26:21 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) From: "Nick Pellow" To: "Ant Developers List" Subject: AW: [PATCH] XMLValidate Date: Mon, 23 Sep 2002 18:22:34 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > On Fri, 20 Sep 2002, Nick Pellow wrote: > > > I also removed the use of Collection libraries. > > Thank you, I've changed two lines to make it compile under JDK 1.1 > (addElement and elementAt instead of add/get). cool. > > > They will fail with crimson since it does not support schema > > validation, is this OK? > > Is there an easy way to determine whether the parser supports schema > validation so we could set a property and in/exclude the test? I don't think there is a nice way to do this since the parser is loaded in the task, and not in the test. The XMLValidateTask will throw a BuildException however when a feature is not supported by a parser! > If not, we could specifically check for Xerces (or AElfred?). I think that is the best way to go, safest with Xerces. Probably best to specifiy it in the test task as well so that the default is not used by mistake. Nick > > Stefan > > -- > To unsubscribe, e-mail: > For additional commands, e-mail: > > > -- To unsubscribe, e-mail: For additional commands, e-mail: