Text of testsuites document used as URI
Brought to you by:
diyfiesta
In generate-tests.xsl, using / as the second argument to resolve-uri() results in the string value of / being used as a URI.
This explains why relative URIs in @stylesheet haven't been working.
Regards,
Tony Graham.
--- generate-tests.xsl~ 2006-07-28 15:27:44.000000000 +0100
+++ generate-tests.xsl 2007-02-14 14:48:12.254270400 +0000
@@ -27,9 +27,9 @@
<xsl:variable name="stylesheet" as="document-node()"
select="if (/test:suite)
- then doc(resolve-uri(/test:suite/@stylesheet, /))
+ then doc(resolve-uri(/test:suite/@stylesheet, base-uri(/)))
else /" />
-
+
<xsl:key name="functions"
match="xsl:function"
use="resolve-QName(@name, .)" />