I once again stumbled across Ant's bug. Using Ant's xmlvalidate task, validating iso-2022-jp XML files always fail because XML parser assumes passed file is in UTF-8.
I fixed the bug as in bug #11279. I re-uploaded jar files to http://httpd.apache.org/dev/dist/jakarta-ant-1.5-modified-jar.tar.gz Can we agree to use that jar instead of current modified 1.4.1 jar and apply xmlvalidate patch from Erik Abele <[EMAIL PROTECTED]> below? It will give us the option to validate XML documents. I don't think we should make xslt target depend on validate because validate target validates all XML files, not just updated ones. We can occasionally validate them using % sh build.sh validate Index: build.xml =================================================================== RCS file: /home/penny/cvsroot/httpd-2.0/docs/manual/style/build.xml,v retrieving revision 1.6 diff -u -r1.6 build.xml --- build.xml 29 Jul 2002 11:43:11 -0000 1.6 +++ build.xml 30 Jul 2002 11:27:20 -0000 @@ -48,6 +48,20 @@ <mapper type="glob" from="*.xml.ja" to="*.html.ja.jis"/> <param name="relative-path" expression="."/> </style> + </target> + <target name="validate" + description="Validate the XML source files"> + <!-- Validate the root directory of the manual --> + <xmlvalidate lenient="false" failonerror="false" warn="true"> + <fileset dir="../" + includes="*.xml *.xml.ja"/> + </xmlvalidate> + + <!-- Validate the mod directory (.en + .ja) --> + <xmlvalidate lenient="false" failonerror="false" warn="true"> + <fileset dir="../mod/" + includes="*.xml *.xml.ja"/> + </xmlvalidate> </target> </project> -- Yoshiki Hayashi --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
