Adding keywords to xsl-document-test-set keywords
authorabraaksm
Sun, 27 Jul 2014 19:33:50 +0200
branchkeywords
changeset 528 91fcc86b0e2f
parent 527 133449f5df75
child 529 db91ade4c691
Adding keywords to xsl-document-test-set
tests/insn/xsl-document/_xsl-document-test-set.xml
--- a/tests/insn/xsl-document/_xsl-document-test-set.xml	Sun Jul 27 19:33:39 2014 +0200
+++ b/tests/insn/xsl-document/_xsl-document-test-set.xml	Sun Jul 27 19:33:50 2014 +0200
@@ -1,7 +1,5 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<test-set xmlns:xs="http://www.w3.org/2001/XMLSchema"
-          xmlns="http://www.w3.org/2012/10/xslt-test-catalog"
-          name="xsl-document">
+<?xml version="1.0" encoding="UTF-8"?>
+<test-set xmlns="http://www.w3.org/2012/10/xslt-test-catalog" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="xsl-document">
    
    <description>Tests the xsl:document instruction, and construction of document nodes</description>
    
@@ -41,6 +39,7 @@
          Simple test case that uses xsl:document instruction to create an empty new document node 
          (sequence constructor does not contain any instruction).
       </description>
+      <keywords/>
       <created by="Michael Kay" on="2012-10-30"/>
       <environment ref="xsl-document-01"/>
       <dependencies>
@@ -59,6 +58,7 @@
          Test case to verify that a document node can contain any sequence of elements, text nodes, 
          comments, and processing instructions as its children.
       </description>
+      <keywords>sequence-constructor comment-nodes text-nodes processing-instruction-nodes</keywords>
       <created by="Michael Kay" on="2012-10-30"/>
       <environment ref="xsl-document-01"/>
       <dependencies>
@@ -86,6 +86,7 @@
          Test case that creates a new document using xsl:document in a variable and uses xsl:copy-of 
          to create a new document from the variable.
       </description>
+      <keywords>xsl:variable xsl:copy-of</keywords>
       <created by="Michael Kay" on="2012-10-30"/>
       <environment ref="xsl-document-01"/>
       <dependencies>
@@ -103,6 +104,7 @@
       <description>
          Test case that uses xsl:copy in the sequence constructor of an xsl:document instruction.
       </description>
+      <keywords>sequence-constructor xsl:copy</keywords>
       <created by="Michael Kay" on="2012-10-30"/>
       <environment ref="xsl-document-01"/>
       <dependencies>
@@ -121,6 +123,7 @@
          Test case that uses xsl:document to create a new document inside a variable and get the text 
          value stored in the new document using the variable.
       </description>
+      <keywords>xsl:text xsl:variable xsl:value-of</keywords>
       <created by="Michael Kay" on="2012-10-30"/>
       <environment ref="xsl-document-01"/>
       <dependencies>
@@ -139,6 +142,7 @@
          Test case to verify that to create the content of the new document node, if there are any atomic 
          values in the sequence, they are converted to string.
       </description>
+      <keywords>text-nodes xsl:value-of xsl:text</keywords>
       <created by="Michael Kay" on="2012-10-30"/>
       <environment ref="xsl-document-01"/>
       <dependencies>
@@ -157,6 +161,7 @@
          Test case that uses xsl:for-each inside an xsl:document instruction to create children for 
          the newly created document.
       </description>
+      <keywords>xsl:for-each</keywords>
       <created by="Michael Kay" on="2012-10-30"/>
       <environment ref="xsl-document-01"/>
       <dependencies>
@@ -176,6 +181,7 @@
          to a single text node, whose string value contains the content of each of the strings in turn, with 
          a single space used as a separator between successive strings.
       </description>
+      <keywords>xsl:call-template</keywords>
       <created by="Michael Kay" on="2012-10-30"/>
       <environment ref="xsl-document-02"/>
       <dependencies>
@@ -194,6 +200,7 @@
          Test case that uses xsl:apply-import inside an xsl:document while the imported stylesheet itself is 
          creating a new document using the xsl:document instruction.
       </description>
+      <keywords>xsl:apply-imports xsl:import</keywords>
       <created by="Michael Kay" on="2012-10-30"/>
       <environment ref="xsl-document-02"/>
       <dependencies>
@@ -212,6 +219,7 @@
          Tests an LRE which contains a document node and an xsl:element instruction whose sequence constructor 
          contains a document node.
       </description>
+      <keywords>xsl:element nested-documents</keywords>
       <created by="Michael Kay" on="2012-10-30"/>
       <environment ref="xsl-document-02"/>
       <dependencies>
@@ -230,6 +238,7 @@
          Test case to verify that any document node within the result sequence is replaced by a sequence 
          containing each of its children, in document order.
       </description>
+      <keywords>xsl:element xsl:processing-instruction xsl:comment document-order xsl:copy use-attribute-sets</keywords>
       <created by="Michael Kay" on="2012-10-30"/>
       <environment ref="xsl-document-03"/>
       <dependencies>
@@ -253,6 +262,7 @@
       <description>
          Test case to verify that Adjacent text nodes within the sequence are combined into a 
          single text node, without any space separator. Zero-length text nodes are removed completely.</description>
+      <keywords>xsl:text empty-text-nodes</keywords>
       <created by="Michael Kay" on="2012-10-30"/>
       <environment ref="xsl-document-03"/>
       <dependencies>
@@ -268,6 +278,7 @@
 
    <test-case name="xsl-document-0401">
       <description>Test case that uses xsl:sequence inside xsl:document</description>
+      <keywords>xsl:sequence empty-text-nodes</keywords>
       <created by="Michael Kay" on="2012-10-30"/>
       <environment ref="xsl-document-04"/>
       <dependencies>
@@ -283,6 +294,7 @@
 
    <test-case name="xsl-document-0402">
       <description>Test case that uses validation=strip on an xsl:document instruction.</description>
+      <keywords>validation-strip</keywords>
       <created by="Michael Kay" on="2012-10-30"/>
       <environment ref="xsl-document-04"/>
       <dependencies>
@@ -298,6 +310,7 @@
 
    <test-case name="xsl-document-0403">
       <description>Test case that uses xsl:document inside a literal result element.</description>
+      <keywords>lre nested-documents</keywords>
       <created by="Michael Kay" on="2012-10-30"/>
       <environment ref="xsl-document-04"/>
       <dependencies>
@@ -313,6 +326,7 @@
 
    <test-case name="xsl-document-0404">
       <description>Test case to verify that nodes in the sequence constructor of xsl:document are copied.</description>
+      <keywords>lre xsl:sequence xsl:variable</keywords>
       <created by="Michael Kay" on="2012-10-30"/>
       <environment ref="xsl-document-04"/>
       <dependencies>
@@ -331,6 +345,7 @@
          Test case to verify that creation of multiple elements at the top level (directly under the 
          document node) is not an error.
       </description>
+      <keywords>multiple-root-elements xsl:copy-of</keywords>
       <created by="Michael Kay" on="2012-10-30"/>
       <environment>
          <source role=".">
@@ -357,6 +372,7 @@
 
    <test-case name="xsl-document-0601">
       <description>Tests use of a document node inside an instruction that is constructing simple content.</description>
+      <keywords>nested-documents xsl:comment</keywords>
       <created by="Michael Kay" on="2012-10-30"/>
       <environment ref="xsl-document-06"/>
       <dependencies>
@@ -374,6 +390,7 @@
       <description>
          Test case that uses default-validation="strip" to test whether type annotation is stripped 
          in an attribute constructed inside an xsl:document.</description>
+      <keywords>validation-strip DocumentTest</keywords>
       <created by="Michael Kay" on="2012-10-30"/>
       <environment ref="xsl-document-06"/>
       <dependencies>
@@ -389,6 +406,7 @@
 
    <test-case name="xsl-document-0603">
       <description>Tests using xsl:document instruction inside an xsl:message instruction.</description>
+      <keywords>xsl:message</keywords>
       <created by="Michael Kay" on="2012-10-30"/>
       <environment ref="xsl-document-06"/>
       <dependencies>
@@ -411,6 +429,7 @@
       <description>
          Tests creating an element inside an xsl:document and use xsl:use-attribute-set 
          to add attributes to the new element inside the document.</description>
+      <keywords>xsl:attribute-set lre xsl:use-attribute-sets</keywords>
       <created by="Michael Kay" on="2012-10-30"/>
       <environment ref="xsl-document-06"/>
       <dependencies>
@@ -426,6 +445,7 @@
 
    <test-case name="xsl-document-0605">
       <description>Tests xsl:choose instruction inside an xsl:document.</description>
+      <keywords>xsl:choose xsl:when xsl:otherwise</keywords>
       <created by="Michael Kay" on="2012-10-30"/>
       <environment ref="xsl-document-06"/>
       <dependencies>
@@ -441,6 +461,7 @@
 
    <test-case name="xsl-document-0606">
       <description>Tests using xsl:use-when instruction inside an xsl:document.</description>
+      <keywords>use-when-attribute</keywords>
       <created by="Michael Kay" on="2012-10-30"/>
       <environment ref="xsl-document-06"/>
       <dependencies>
@@ -456,6 +477,7 @@
 
    <test-case name="xsl-document-0701">
       <description>Tests to sort values inside an xsl:document.</description>
+      <keywords>xsl:sort xsl:for-each</keywords>
       <created by="Michael Kay" on="2012-10-30"/>
       <environment>
          <source role=".">
@@ -476,6 +498,7 @@
 
    <test-case name="xsl-document-0801">
       <description>Tests using forExpr inside an xsl:document.</description>
+      <keywords>ForExpr fn:string-join fn:avg fn:sum</keywords>
       <created by="Michael Kay" on="2012-10-30"/>
       <environment>
          <source role=".">
@@ -492,4 +515,4 @@
          <assert-xml><![CDATA[<out>abababababa 3.5 10.2</out>]]></assert-xml>
       </result>
    </test-case>
-</test-set>
+</test-set>
\ No newline at end of file