- From: Arthur Ryman via cvs-syncmail <cvsmail@w3.org>
- Date: Sat, 30 Apr 2005 13:31:24 +0000
- To: public-ws-desc-eds@w3.org
Update of /sources/public/2002/ws/desc/test-suite In directory hutz:/tmp/cvs-serv9275 Modified Files: build.xml Log Message: Added goodxsd target to build.xml. Index: build.xml =================================================================== RCS file: /sources/public/2002/ws/desc/test-suite/build.xml,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** build.xml 30 Mar 2005 02:07:59 -0000 1.5 --- build.xml 30 Apr 2005 13:31:22 -0000 1.6 *************** *** 7,10 **** --- 7,13 ---- ChangeLog: + 2005-04-30 Arthur Ryman ryman@ca.ibm.com + - Added gooxsd target to validate good schemas. + 2005-03-28 Arthur Ryman ryman@ca.ibm.com - Enable full schema checking. *************** *** 55,58 **** --- 58,72 ---- </target> + <target name="goodxsd" description="Validates good XSD documents."> + <xmlvalidate failonerror="yes" lenient="no" warn="yes" classname="org.apache.xerces.parsers.SAXParser" classpath="${xercesImpl.jar}"> + <fileset dir="documents/good" includes="**/*.xsd" /> + <xmlcatalog refid="schemas" /> + <attribute name="http://xml.org/sax/features/namespaces" value="true" /> + <attribute name="http://xml.org/sax/features/validation" value="true" /> + <attribute name="http://apache.org/xml/features/validation/schema" value="true" /> + <attribute name="http://apache.org/xml/features/validation/schema-full-checking" value="true" /> + </xmlvalidate> + </target> + <target name="bad" description="Validates bad WSDL and XSD documents."> <xmlvalidate failonerror="yes" lenient="no" warn="yes" classname="org.apache.xerces.parsers.SAXParser" classpath="${xercesImpl.jar}">
Received on Saturday, 30 April 2005 13:31:28 UTC