ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Holger Engels <heng...@mercatis.de>
Subject XMLValidate
Date Fri, 05 Oct 2001 06:25:06 GMT

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>


I'de love committing it myself, but I don't have write access to the
repository ..

Holger Engels

Mime
View raw message