Return-Path: Delivered-To: apmail-jakarta-ant-dev-archive@apache.org Received: (qmail 77899 invoked from network); 20 Apr 2002 16:57:13 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 20 Apr 2002 16:57:13 -0000 Received: (qmail 16021 invoked by uid 97); 20 Apr 2002 16:57:12 -0000 Delivered-To: qmlist-jakarta-archive-ant-dev@jakarta.apache.org Received: (qmail 15999 invoked by uid 97); 20 Apr 2002 16:57:12 -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 15988 invoked from network); 20 Apr 2002 16:57:11 -0000 Message-ID: <027b01c1e88c$6a9f6120$38678f80@darden.virginia.edu> From: "Erik Hatcher" To: "Ant Developers List" References: <20020420161432.38481.qmail@icarus.apache.org> Subject: Re: cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional XMLValidateTask.java Date: Sat, 20 Apr 2002 12:57:11 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 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 Yes, there documentation patches that are needed for the XMLCatalog changes I've made. I'll tackle those sometime this weekend, unless someone beats me to it! :) Here is what needs documenting: - XMLCatalog datatype changes (support for nested XMLCatalogs, and classpath support) - Style/Xslt - never was doc'd that it supports - shame on you dIon! :) - XMLValidate - document its support Oh, and while I'm making a public checklist of my weekend to-do, needs documenting too. Erik ----- Original Message ----- From: To: Sent: Saturday, April 20, 2002 12:14 PM Subject: cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional XMLValidateTask.java > ehatcher 02/04/20 09:14:32 > > Modified: src/main/org/apache/tools/ant/taskdefs/optional > XMLValidateTask.java > Log: > modified to internally use an XMLCatalog rather than the LocalResolver. > > Note: one potential API break, I removed public Vector dtdLocationsr, but it was added after 1.4.1 release, so would only be a problem if classes written for 1.5alpha relied on it which is unlikely, and too bad for them! :) > > Revision Changes Path > 1.16 +18 -103 jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/XMLValidateTask. java > > Index: XMLValidateTask.java > =================================================================== > RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/XMLVal idateTask.java,v > retrieving revision 1.15 > retrieving revision 1.16 > diff -u -r1.15 -r1.16 > --- XMLValidateTask.java 20 Apr 2002 13:57:28 -0000 1.15 > +++ XMLValidateTask.java 20 Apr 2002 16:14:32 -0000 1.16 > @@ -72,6 +72,8 @@ > import org.apache.tools.ant.types.FileSet; > import org.apache.tools.ant.types.Path; > import org.apache.tools.ant.types.Reference; > +import org.apache.tools.ant.types.XMLCatalog; > +import org.apache.tools.ant.types.DTDLocation; > import org.xml.sax.XMLReader; > import org.xml.sax.EntityResolver; > import org.xml.sax.Parser; > @@ -123,10 +125,7 @@ > = new ValidatorErrorHandler(); // to report sax parsing errors > protected Hashtable features = new Hashtable(); > > - /** > - * The list of configured DTD locations > - */ > - public Vector dtdLocations = new Vector(); > + private XMLCatalog xmlCatalog = new XMLCatalog(); > > /** > * Specify how parser error are to be handled. > @@ -214,31 +213,36 @@ > } > > /** > + * > + */ > + public void addConfiguredXMLCatalog(XMLCatalog catalog) { > + xmlCatalog.addConfiguredXMLCatalog(catalog); > + } > + > + /** -- To unsubscribe, e-mail: For additional commands, e-mail: