<test-group xmlns="http://www.w3.org/2005/02/query-test-XQTSCatalog" name="CombNodeSeq" featureOwner="Frans Englich">
   <GroupInfo>
      <title>Combining Node Sequences</title>
      <description>Tests for combining Sequences</description>
   </GroupInfo>
   <test-case is-XPath2="false" name="combiningnodeseqhc1" FilePath="Expressions/SeqExpr/CombNodeSeq/" scenario="standard" Creator="Carmelo Montanez">
      <description>Simple combination of two node sequences involving integers and the "|" operator.</description>
      <spec-citation spec="XQuery" section-number="3.3.3" section-title="Combining Node Sequences" section-pointer="combining_seq"/>
      <query name="combiningnodeseqhc1" date="2005-02-14"/>
      <input-file role="principal-data" variable="input-context1">works</input-file>
      <output-file role="principal" compare="Fragment">combiningnodeseqhc1.txt</output-file>
   </test-case>
   <test-case is-XPath2="false" name="combiningnodeseqhc2" FilePath="Expressions/SeqExpr/CombNodeSeq/" scenario="standard" Creator="Carmelo Montanez">
      <description>Simple combination of two node sequences involving integers and the "union" operator.</description>
      <spec-citation spec="XQuery" section-number="3.3.3" section-title="Combining Node Sequences" section-pointer="combining_seq"/>
      <query name="combiningnodeseqhc2" date="2005-02-14"/>
      <input-file role="principal-data" variable="input-context1">works</input-file>
      <output-file role="principal" compare="Fragment">combiningnodeseqhc2.txt</output-file>
   </test-case>
   <test-case is-XPath2="false" name="combiningnodeseqhc3" FilePath="Expressions/SeqExpr/CombNodeSeq/" scenario="standard" Creator="Carmelo Montanez">
      <description>Simple combination of two node sequences involving integers, member repetition and the "|" operator.</description>
      <spec-citation spec="XQuery" section-number="3.3.3" section-title="Combining Node Sequences" section-pointer="combining_seq"/>
      <query name="combiningnodeseqhc3" date="2005-02-14"/>
      <input-file role="principal-data" variable="input-context1">works</input-file>
      <output-file role="principal" compare="Fragment">combiningnodeseqhc3.txt</output-file>
   </test-case>
   <test-case is-XPath2="false" name="combiningnodeseqhc4" FilePath="Expressions/SeqExpr/CombNodeSeq/" scenario="standard" Creator="Carmelo Montanez">
      <description>Simple combination of two node sequences involving integers, member repetition and the "union" operator.</description>
      <spec-citation spec="XQuery" section-number="3.3.3" section-title="Combining Node Sequences" section-pointer="combining_seq"/>
      <query name="combiningnodeseqhc4" date="2005-02-14"/>
      <input-file role="principal-data" variable="input-context1">works</input-file>
      <output-file role="principal" compare="Fragment">combiningnodeseqhc4.txt</output-file>
   </test-case>
   <test-case is-XPath2="false" name="combiningnodeseqhc5" FilePath="Expressions/SeqExpr/CombNodeSeq/" scenario="standard" Creator="Carmelo Montanez">
      <description>Simple combination of two node sequences involving integers, the empty sequence and the "|" operator.</description>
      <spec-citation spec="XQuery" section-number="3.3.3" section-title="Combining Node Sequences" section-pointer="combining_seq"/>
      <query name="combiningnodeseqhc5" date="2005-02-14"/>
      <input-file role="principal-data" variable="input-context1">works</input-file>
      <output-file role="principal" compare="Fragment">combiningnodeseqhc5.txt</output-file>
   </test-case>
   <test-case is-XPath2="false" name="combiningnodeseqhc6" FilePath="Expressions/SeqExpr/CombNodeSeq/" scenario="standard" Creator="Carmelo Montanez">
      <description>Simple combination of two node sequences involving integers, the empty sequence and the "union" operator.</description>
      <spec-citation spec="XQuery" section-number="3.3.3" section-title="Combining Node Sequences" section-pointer="combining_seq"/>
      <query name="combiningnodeseqhc6" date="2005-02-14"/>
      <input-file role="principal-data" variable="input-context1">works</input-file>
      <output-file role="principal" compare="Fragment">combiningnodeseqhc6.txt</output-file>
   </test-case>
   <test-case is-XPath2="false" name="combiningnodeseqhc7" FilePath="Expressions/SeqExpr/CombNodeSeq/" scenario="standard" Creator="Carmelo Montanez">
      <description>Simple combination of two node sequences involving multiple (different) children of the same xml data source and the "|" operator.</description>
      <spec-citation spec="XQuery" section-number="3.3.3" section-title="Combining Node Sequences" section-pointer="combining_seq"/>
      <query name="combiningnodeseqhc7" date="2005-02-14"/>
      <input-file role="principal-data" variable="input-context1">works</input-file>
      <output-file role="principal" compare="Fragment">combiningnodeseqhc7.txt</output-file>
   </test-case>
   <test-case is-XPath2="false" name="combiningnodeseqhc8" FilePath="Expressions/SeqExpr/CombNodeSeq/" scenario="standard" Creator="Carmelo Montanez">
      <description>Simple combination of two node sequences involving multiple (different) children of the same xml data source and the "union" operator.</description>
      <spec-citation spec="XQuery" section-number="3.3.3" section-title="Combining Node Sequences" section-pointer="combining_seq"/>
      <query name="combiningnodeseqhc8" date="2005-02-14"/>
      <input-file role="principal-data" variable="input-context1">works</input-file>
      <output-file role="principal" compare="Fragment">combiningnodeseqhc8.txt</output-file>
   </test-case>
   <test-case is-XPath2="false" name="combiningnodeseqhc9" FilePath="Expressions/SeqExpr/CombNodeSeq/" scenario="standard" Creator="Carmelo Montanez">
      <description>Simple combination of two node sequences involving multiple xml data sources and use of the "|" operator.</description>
      <spec-citation spec="XQuery" section-number="3.3.3" section-title="Combining Node Sequences" section-pointer="combining_seq"/>
      <query name="combiningnodeseqhc9" date="2005-02-14"/>
      <input-file role="principal-data" variable="input-context1">works</input-file>
      <input-file role="principal-data" variable="input-context2">staff</input-file>
      <output-file role="principal" compare="Fragment">combiningnodeseqhc9.txt</output-file>
   </test-case>
   <test-case is-XPath2="false" name="combiningnodeseqhc10" FilePath="Expressions/SeqExpr/CombNodeSeq/" scenario="standard" Creator="Carmelo Montanez">
      <description>Simple combination of two node sequences involving multiple xml data sources and use of the "union" operator.</description>
      <spec-citation spec="XQuery" section-number="3.3.3" section-title="Combining Node Sequences" section-pointer="combining_seq"/>
      <query name="combiningnodeseqhc10" date="2005-02-14"/>
      <input-file role="principal-data" variable="input-context1">works</input-file>
      <input-file role="principal-data" variable="input-context2">staff</input-file>
      <output-file role="principal" compare="Fragment">combiningnodeseqhc10.txt</output-file>
   </test-case>
   <test-case is-XPath2="false" name="combiningnodeseqexcepthc1" FilePath="Expressions/SeqExpr/CombNodeSeq/" scenario="standard" Creator="Carmelo Montanez">
      <description>Simple combination of node sequences using integer data and the "except" operator.</description>
      <spec-citation spec="XQuery" section-number="3.3.3" section-title="Combining Node Sequences" section-pointer="combining_seq"/>
      <query name="combiningnodeseqexcepthc1" date="2005-02-14"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Fragment">combiningnodeseqexcepthc1.txt</output-file>
      <output-file role="principal" compare="Fragment">combiningnodeseqexcepthcalt1.txt</output-file>
   </test-case>
   <test-case is-XPath2="false" name="combiningnodeseqexcepthc2" FilePath="Expressions/SeqExpr/CombNodeSeq/" scenario="standard" Creator="Carmelo Montanez">
      <description>Simple combination of node sequences using repetition of same data and the "except" operator.</description>
      <spec-citation spec="XQuery" section-number="3.3.3" section-title="Combining Node Sequences" section-pointer="combining_seq"/>
      <query name="combiningnodeseqexcepthc2" date="2005-02-14"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Fragment">combiningnodeseqexcepthc2.txt</output-file>
      <output-file role="principal" compare="Fragment">combiningnodeseqexcepthcalt2.txt</output-file>
   </test-case>
   <test-case is-XPath2="false" name="combiningnodeseqexcepthc3" FilePath="Expressions/SeqExpr/CombNodeSeq/" scenario="standard" Creator="Carmelo Montanez">
      <description>Simple combination of node sequences using the empty sequence and the "except" operator.</description>
      <spec-citation spec="XQuery" section-number="3.3.3" section-title="Combining Node Sequences" section-pointer="combining_seq"/>
      <query name="combiningnodeseqexcepthc3" date="2005-02-14"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">combiningnodeseqexcepthc3.txt</output-file>
      <expected-error>XPST0005</expected-error>
   </test-case>
   <test-case is-XPath2="false" name="combiningnodeseqexcepthc4" FilePath="Expressions/SeqExpr/CombNodeSeq/" scenario="standard" Creator="Carmelo Montanez">
      <description>Simple combination of node sequences that results on the empty sequence and the "except" operator.</description>
      <spec-citation spec="XQuery" section-number="3.3.3" section-title="Combining Node Sequences" section-pointer="combining_seq"/>
      <query name="combiningnodeseqexcepthc4" date="2005-02-14"/>
      <input-file role="principal-data" variable="input-context1">works</input-file>
      <output-file role="principal" compare="Text">combiningnodeseqexcepthc4.txt</output-file>
   </test-case>
   <test-case is-XPath2="false" name="combiningnodeseqexcepthc5" FilePath="Expressions/SeqExpr/CombNodeSeq/" scenario="standard" Creator="Carmelo Montanez">
      <description>Simple combination of node sequences that uses multiple (different) data sources and "except" operator.</description>
      <spec-citation spec="XQuery" section-number="3.3.3" section-title="Combining Node Sequences" section-pointer="combining_seq"/>
      <query name="combiningnodeseqexcepthc5" date="2005-02-14"/>
      <input-file role="principal-data" variable="input-context1">works</input-file>
      <input-file role="principal-data" variable="input-context2">staff</input-file>
      <output-file role="principal" compare="Text">combiningnodeseqexcepthc5.txt</output-file>
   </test-case>
   <test-case is-XPath2="false" name="combiningnodeseqexcepthc6" FilePath="Expressions/SeqExpr/CombNodeSeq/" scenario="standard" Creator="Carmelo Montanez">
      <description>Simple combination of node sequences that uses multiple data sources, repetition of a sequence and the "except" operator.</description>
      <spec-citation spec="XQuery" section-number="3.3.3" section-title="Combining Node Sequences" section-pointer="combining_seq"/>
      <query name="combiningnodeseqexcepthc6" date="2005-02-14"/>
      <input-file role="principal-data" variable="input-context1">works</input-file>
      <input-file role="principal-data" variable="input-context2">staff</input-file>
      <output-file role="principal" compare="Fragment">combiningnodeseqexcepthc6.txt</output-file>
   </test-case>
   <test-case is-XPath2="false" name="combiningnodeseqintersecthc1" FilePath="Expressions/SeqExpr/CombNodeSeq/" scenario="standard" Creator="Carmelo Montanez">
      <description>Simple combination of node sequences that that results in empty sequence. Use of the "intersect" operator.</description>
      <spec-citation spec="XQuery" section-number="3.3.3" section-title="Combining Node Sequences" section-pointer="combining_seq"/>
      <query name="combiningnodeseqintersecthc1" date="2005-02-14"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">combiningnodeseqintersecthc1.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="combiningnodeseqintersecthc2" FilePath="Expressions/SeqExpr/CombNodeSeq/" scenario="standard" Creator="Carmelo Montanez">
      <description>Simple combination of two empty sequence. Use of the "intersect" operator.</description>
      <spec-citation spec="XQuery" section-number="3.3.3" section-title="Combining Node Sequences" section-pointer="combining_seq"/>
      <query name="combiningnodeseqintersecthc2" date="2005-02-14"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Fragment">combiningnodeseqintersecthc2.txt</output-file>
      <expected-error>XPST0005</expected-error>
   </test-case>
   <test-case is-XPath2="false" name="combiningnodeseqintersecthc3" FilePath="Expressions/SeqExpr/CombNodeSeq/" scenario="standard" Creator="Carmelo Montanez">
      <description>Simple combination of the same sequence. Use of the "intersect" operator.</description>
      <spec-citation spec="XQuery" section-number="3.3.3" section-title="Combining Node Sequences" section-pointer="combining_seq"/>
      <query name="combiningnodeseqintersecthc3" date="2005-02-14"/>
      <input-file role="principal-data" variable="input-context1">works</input-file>
      <output-file role="principal" compare="Fragment">combiningnodeseqintersecthc3.txt</output-file>
   </test-case>
   <test-case is-XPath2="false" name="combiningnodeseqintersecthc4" FilePath="Expressions/SeqExpr/CombNodeSeq/" scenario="standard" Creator="Carmelo Montanez">
      <description>Simple combination of non trivial sequences. Second sequence contains duplicate of first sequence. use the "intersect" operator.</description>
      <spec-citation spec="XQuery" section-number="3.3.3" section-title="Combining Node Sequences" section-pointer="combining_seq"/>
      <query name="combiningnodeseqintersecthc4" date="2005-02-14"/>
      <input-file role="principal-data" variable="input-context1">works</input-file>
      <input-file role="principal-data" variable="input-context2">staff</input-file>
      <output-file role="principal" compare="Fragment">combiningnodeseqintersecthc4.txt</output-file>
   </test-case>
</test-group>