ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <dona...@apache.org>
Subject Re: XMLValidate
Date Sat, 06 Oct 2001 06:58:55 GMT
On Fri, 5 Oct 2001 16:25, Holger Engels wrote:
> I've added some code for local resolving of entities to the optional
> XMLValidateTask. Following is an example, how to use it:
>
>   <xmlvalidate failonerror="false" lenient="false" warn="true">
>     <fileset dir="${etc}" includes="*.xml"/>
>     <dtd publicId="-//DCTSS//DTD service//EN"
>          location="${lib}/dtd/service_1_0.dtd"/>
>     <dtd publicId="-//DCTSS//DTD juna-service//EN"
>          location="${lib}/dtd/juna-service_1_0.dtd"/>
>     <dtd publicId="-//Sun Microsystems, Inc.//DTD J2EE Client 1.2//EN"
>          location="${lib}/dtd/application-client_1_2.dtd"/>
>     <dtd publicId="-//DCTSS//DTD juna-client//EN"
>          location="${lib}/dtd/juna-client_1_0.dtd"/>
>   </xmlvalidate>

Applied patch - taah. A few things though, we prefer unified diffs because 
that makes it easier to review them and we also don't use tabs because it 
makes it impossible to read diffs in mail clients.

Could you download CVS and make sure it still works for you? Also a patch for 
documentation would be good ;)

-- 
Cheers,

Pete

*------------------------------------------------*
| You can't wake a person who is pretending      |
|       to be asleep. -Navajo Proverb.           |
*------------------------------------------------*

Mime
View raw message