Fix a couple of XML typos
authorMichael Kay <mike@saxonica.com>
Tue, 30 Jun 2015 09:20:40 +0100
changeset 993 77c252949c59
parent 992 4a85730988dc
child 994 439f5cc4f449
Fix a couple of XML typos
tests/expr/expression/expression-1907.xsl
tests/expr/expression/expression-1908.xsl
--- a/tests/expr/expression/expression-1907.xsl	Tue Jun 30 00:07:58 2015 +0100
+++ b/tests/expr/expression/expression-1907.xsl	Tue Jun 30 09:20:40 2015 +0100
@@ -4,7 +4,7 @@
   <!-- PURPOSE: unparsed entities preserved by fn:copy-of()  -->
 
   <xsl:template match="/">
-    <xsl:variable name="p" as="document-node()" select="copy-of(.)/>
+    <xsl:variable name="p" as="document-node()" select="copy-of(.)"/>
     <out>
       <xsl:for-each select="$p">
         <a><xsl:value-of select="ends-with(unparsed-entity-uri('hatch-pic'), '/expr/grafix/OpenHatch.gif')"/></a>
--- a/tests/expr/expression/expression-1908.xsl	Tue Jun 30 00:07:58 2015 +0100
+++ b/tests/expr/expression/expression-1908.xsl	Tue Jun 30 09:20:40 2015 +0100
@@ -4,7 +4,7 @@
   <!-- PURPOSE: unparsed entities preserved by fn:snapshot()  -->
 
   <xsl:template match="/">
-    <xsl:variable name="p" as="document-node()" select="snapshot(.)/>
+    <xsl:variable name="p" as="document-node()" select="snapshot(.)"/>
     <out>
       <xsl:for-each select="$p">
         <a><xsl:value-of select="ends-with(unparsed-entity-uri('hatch-pic'), '/expr/grafix/OpenHatch.gif')"/></a>