summaryrefslogtreecommitdiffstats
path: root/tests/auto/xmlpatterns/stylesheets/notWellformed.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/xmlpatterns/stylesheets/notWellformed.xsl')
-rw-r--r--tests/auto/xmlpatterns/stylesheets/notWellformed.xsl9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/auto/xmlpatterns/stylesheets/notWellformed.xsl b/tests/auto/xmlpatterns/stylesheets/notWellformed.xsl
new file mode 100644
index 0000000000..241668a68d
--- /dev/null
+++ b/tests/auto/xmlpatterns/stylesheets/notWellformed.xsl
@@ -0,0 +1,9 @@
+<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+
+ <xsl:template match="/
+ <out>
+ <xsl:copy-of select="document('bug42.xml', /)"/>
+ </out>
+ </xsl:template>
+
+</xsl:stylesheet>