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" <template match="/xsl:stylesheet|/xsl:transform"
priority="5"> priority="5">
<document> <document>
<out:stylesheet> <out:stylesheet version="2.0">
<xsl:apply-templates mode="fgen:create" /> <xsl:apply-templates mode="fgen:create" />
</out:stylesheet> </out:stylesheet>
</document> </document>

View File

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