apply-gen generated stylesheet contains version number (2.0)

master
Mike Gerwitz 2014-11-20 23:10:02 -05:00
parent c73f3a4e7c
commit 04700086b1
2 changed files with 4 additions and 4 deletions

View File

@ -45,7 +45,7 @@
<template match="/xsl:stylesheet|/xsl:transform"
priority="5">
<document>
<out:stylesheet>
<out:stylesheet version="2.0">
<xsl:apply-templates mode="fgen:create" />
</out:stylesheet>
</document>

View File

@ -66,12 +66,12 @@
<expect label="produces an empty stylesheet"
context="xsl:stylesheet">
<xsl:stylesheet />
<xsl:stylesheet version="2.0" />
</expect>
</scenario>
</scenario>
<!-- xsl:transform is an alternative to xsl:stylesheet -->
<scenario label="given a xsl:template root note">
<context>
@ -80,7 +80,7 @@
<expect label="properly outputs stylesheet"
context="xsl:stylesheet">
<xsl:stylesheet />
<xsl:stylesheet version="2.0" />
</expect>
</scenario>
</description>