W3C home > Mailing lists > Public > public-ws-desc-eds@w3.org > November 2006

2002/ws/desc/test-suite missing-roots.xml,NONE,1.1 missing-roots.xsl,NONE,1.1

From: Arthur Ryman via cvs-syncmail <cvsmail@w3.org>
Date: Thu, 16 Nov 2006 18:38:07 +0000
To: public-ws-desc-eds@w3.org
Message-Id: <E1Gkm7j-0007r7-PH@lionel-hutz.w3.org>

Update of /sources/public/2002/ws/desc/test-suite
In directory hutz:/tmp/cvs-serv30148/test-suite

Added Files:
	missing-roots.xml missing-roots.xsl 
Log Message:
synching up

--- NEW FILE: missing-roots.xsl ---
<?xml version="1.0" encoding="UTF-8"?>
<!--
	This stylesheet has not been automatically generated. Do
	edit it!
-->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
	exclude-result-prefixes="tm"
	xmlns:tm="http://www.w3.org/2006/02/wsdl/TestMetadata" version="1.0">

	<xsl:strip-space elements="*" />
	<xsl:output method="xml" indent="yes" />

	<xsl:template match="/">
		<MissingRoots>
			<xsl:for-each select='test-suite/test-case'>
				<xsl:variable name='test-id' select='@id' />
				<xsl:for-each
					select="document(@href)/tm:TestMetadata//tm:Inputs">
					<xsl:if test="not(tm:Input[@role='root'])">
						<MissingRoot test-id='{$test-id}'>
						</MissingRoot>
					</xsl:if>
				</xsl:for-each>
			</xsl:for-each>
		</MissingRoots>
	</xsl:template>

</xsl:stylesheet>

--- NEW FILE: missing-roots.xml ---
<?xml version="1.0" encoding="UTF-8"?>
<MissingRoots/>
Received on Thursday, 16 November 2006 18:38:18 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:32:23 UTC