cmlenz      2003/01/19 05:11:52

  Modified:    documentation build.xml
  Log:
  Added XML validation for the sitemap and navigation files
  
  Revision  Changes    Path
  1.30      +14 -1     jakarta-cactus/documentation/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-cactus/documentation/build.xml,v
  retrieving revision 1.29
  retrieving revision 1.30
  diff -u -r1.29 -r1.30
  --- build.xml 18 Jan 2003 14:57:58 -0000      1.29
  +++ build.xml 19 Jan 2003 13:11:52 -0000      1.30
  @@ -211,8 +211,21 @@
   
       </target>
   
  -    <target name="doc.checksitemap"
  +    <target name="doc.validate"
           depends="doc.cvschangelog">
  +
  +        <xmlvalidate warn="yes">
  +            <xmlcatalog refid="documentation.dtds"/>
  +            <fileset dir="${target.xdoc.dir}">
  +                <include name="sitemap.xml"/>
  +                <include name="**/navigation.xml"/>
  +            </fileset>
  +        </xmlvalidate>
  +
  +    </target>
  +
  +    <target name="doc.checksitemap"
  +        depends="doc.validate">
   
           <taskdef name="checksitemap"
               classname="org.apache.cactus.ant.CheckSitemapTask">
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to