You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ws.apache.org by ve...@apache.org on 2015/07/05 20:55:20 UTC

svn commit: r1689279 - in /webservices/woden/trunk/java/ant-test: build.xml identify-test-case-roots.xsl

Author: veithen
Date: Sun Jul  5 18:55:19 2015
New Revision: 1689279

URL: http://svn.apache.org/r1689279
Log:
Ensure that we produce a valid validation report.

Modified:
    webservices/woden/trunk/java/ant-test/build.xml
    webservices/woden/trunk/java/ant-test/identify-test-case-roots.xsl

Modified: webservices/woden/trunk/java/ant-test/build.xml
URL: http://svn.apache.org/viewvc/webservices/woden/trunk/java/ant-test/build.xml?rev=1689279&r1=1689278&r2=1689279&view=diff
==============================================================================
--- webservices/woden/trunk/java/ant-test/build.xml (original)
+++ webservices/woden/trunk/java/ant-test/build.xml Sun Jul  5 18:55:19 2015
@@ -110,7 +110,7 @@
 			<param name="test-suite-xml" expression="${test-suite-xml}" />
 			<param name="Identifier-base" expression="http://dev.w3.org/cvsweb/2002/ws/desc/test-suite" />
 		</xslt>
-		<schemavalidate failonerror="no">
+		<schemavalidate failonerror="yes">
 			<schema namespace="http://www.w3.org/2006/06/wsdl/ValidationReport" file="${xmlcatalog.dir}/wsdl/ValidationReport.xsd" />
 			<fileset dir=".">
 				<include name="${validation-results}" />
@@ -184,4 +184,4 @@
        <echo>View the W3C WSDL2 Interchange report at file://${test-suite.dir}/results/Interchange.html</echo>
    </target>
 
-</project>
\ No newline at end of file
+</project>

Modified: webservices/woden/trunk/java/ant-test/identify-test-case-roots.xsl
URL: http://svn.apache.org/viewvc/webservices/woden/trunk/java/ant-test/identify-test-case-roots.xsl?rev=1689279&r1=1689278&r2=1689279&view=diff
==============================================================================
--- webservices/woden/trunk/java/ant-test/identify-test-case-roots.xsl (original)
+++ webservices/woden/trunk/java/ant-test/identify-test-case-roots.xsl Sun Jul  5 18:55:19 2015
@@ -64,9 +64,9 @@
 	</xsl:template>
 
 	<xsl:template match="*">
-		<xsl:element name="{name()}">
+		<xsl:copy>
 			<xsl:apply-templates />
-		</xsl:element>
+		</xsl:copy>
 	</xsl:template>
 
 	<xsl:template match="text()">
@@ -127,4 +127,4 @@
 		</xsl:if>
 	</xsl:template>
 
-</xsl:stylesheet>
\ No newline at end of file
+</xsl:stylesheet>