- From: Arthur Ryman <aryman@dev.w3.org>
- Date: Thu, 02 Sep 2004 02:18:23 +0000
- To: public-ws-desc-eds@w3.org
Update of /sources/public/2002/ws/desc/examples In directory hutz:/tmp/cvs-serv3232 Added Files: .project build.xml Log Message: Initial commit of WSDL 2.0 examples with an ant script to validate them. --- NEW FILE: .project --- <?xml version="1.0" encoding="UTF-8"?> <projectDescription> <name>examples</name> <comment></comment> <projects> </projects> <buildSpec> <buildCommand> <name>com.ibm.sse.model.structuredbuilder</name> <arguments> </arguments> </buildCommand> </buildSpec> <natures> </natures> </projectDescription> --- NEW FILE: build.xml --- <?xml version="1.0" encoding="UTF-8"?> <project name="WSDL20" default="main" basedir="."> <property name="xercesImpl.jar" location="E:\xerces-2_6_0\xercesImpl.jar"/> <xmlcatalog id="schemas"> <dtd publicid="-//W3C//DTD XMLSCHEMA 200102//EN" location="xmlcatalog/xsd/XMLSchema.dtd"/> <dtd publicid="datatypes" location="datatypes.dtd"/> </xmlcatalog> <target name="main" depends="valid, invalid" description="Validates all documents."/> <target name="valid" description="Validates invalid WSDL and XSD documents."> <xmlvalidate failonerror="yes" lenient="no" warn="yes" classname="org.apache.xerces.parsers.SAXParser" classpath="${xercesImpl.jar}"> <fileset dir="." includes="valid/**/*.wsdl, valid/**/*.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" /> </xmlvalidate> </target> <target name="invalid" description="Validates valid WSDL and XSD documents."> <xmlvalidate failonerror="no" lenient="no" warn="yes" classname="org.apache.xerces.parsers.SAXParser" classpath="${xercesImpl.jar}"> <fileset dir="." includes="invalid/**/*.wsdl, invalid/**/*.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" /> </xmlvalidate> </target> </project>
Received on Monday, 6 September 2004 11:52:41 UTC