ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Hatcher" <jakarta-...@ehatchersolutions.com>
Subject Re: cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional XMLValidateTask.java
Date Sat, 20 Apr 2002 16:57:11 GMT
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 <xmlcatalog> - shame on
you dIon!  :)
    - XMLValidate - document its support

Oh, and while I'm making a public checklist of my weekend to-do,
<xmlproperty> needs documenting too.

    Erik


----- Original Message -----
From: <ehatcher@apache.org>
To: <jakarta-ant-cvs@apache.org>
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:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message