<!-- try.xml ... these are trial build targets which are currently
  undergoing testing. When ready they can be moved into the main build.xml -->

<!DOCTYPE project [
<!ENTITY xmlcatalog-include SYSTEM "../../../build/src/resources/schema/catalog-ant.xcat">
]>

<project default="validate-v10" basedir="."
         name="Doc Transition Trial: validate v1.0">

<target name="validate-v10">

  <echo message="Including the temporary Ant xmlcatalog."/>
  &xmlcatalog-include;

  <property name="v10.dir" value="src/testcases/c2/v10"/>

  <echo message="Validating v10 xdocs ..."/>
  <xmlvalidate failonerror="yes" 
    lenient="no" 
    warn="yes"
    classname="org.apache.xerces.parsers.SAXParser" 
    classpath="./lib/endorsed/xerces-2.0.1.jar"
  >
    <fileset dir="${v10.dir}" includes="**/*.xml, *.xml"
      excludes="drafts/**, ctwig/**, dictionary.xml, plan/changes-doc.xml, plan/todo-doc.xml" />  
    <xmlcatalog refid="forrest-schema">
      <classpath>
        <pathelement location="${resource.dir}/schema" />
      </classpath>
    </xmlcatalog>
  </xmlvalidate>

</target>
</project>

<!-- End of file -->
