<test-group xmlns="http://www.w3.org/2005/02/query-test-XQTSCatalog" name="NodeBefore" featureOwner="Frans Englich">
   <GroupInfo>
      <title>op:node-before</title>
      <description/>
   </GroupInfo>
   <test-case is-XPath2="true" name="nodeexpression17" FilePath="Expressions/Operators/NodeOp/NodeBefore/" scenario="standard" Creator="Carmelo Montanez (Automatic Generation)">
      <description>Evaluation of a Node expression With the operands/operator set with the following format: empty Sequence "&lt;&lt;" empty Sequence.</description>
      <spec-citation spec="XQuery" section-number="3.5.3" section-title="Node Comparisons" section-pointer="id-node-comparisons"/>
      <spec-citation spec="FuncOps" section-number="14.7" section-title="op:node-before" section-pointer="func-node-before"/>
      <query name="nodeexpression17" date="2005-05-16"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">nodeexpression17.txt</output-file>
      <expected-error>XPST0005</expected-error>
   </test-case>
   <test-case is-XPath2="false" name="nodeexpression18" FilePath="Expressions/Operators/NodeOp/NodeBefore/" scenario="standard" Creator="Carmelo Montanez (Automatic Generation)">
      <description>Evaluation of a Node expression With the operands/operator set with the following format: empty Sequence "&lt;&lt;" Single Element Constructor.</description>
      <spec-citation spec="XQuery" section-number="3.5.3" section-title="Node Comparisons" section-pointer="id-node-comparisons"/>
      <spec-citation spec="FuncOps" section-number="14.7" section-title="op:node-before" section-pointer="func-node-before"/>
      <query name="nodeexpression18" date="2005-05-16"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">nodeexpression18.txt</output-file>
      <expected-error>XPST0005</expected-error>
   </test-case>
   <test-case is-XPath2="true" name="nodeexpression19" FilePath="Expressions/Operators/NodeOp/NodeBefore/" scenario="standard" Creator="Carmelo Montanez (Automatic Generation)">
      <description>Evaluation of a Node expression With the operands/operator set with the following format: empty Sequence "&lt;&lt;" Single Node Element.</description>
      <spec-citation spec="XQuery" section-number="3.5.3" section-title="Node Comparisons" section-pointer="id-node-comparisons"/>
      <spec-citation spec="FuncOps" section-number="14.7" section-title="op:node-before" section-pointer="func-node-before"/>
      <query name="nodeexpression19" date="2005-05-16"/>
      <input-file role="principal-data" variable="input-context1">works</input-file>
      <output-file role="principal" compare="Text">nodeexpression19.txt</output-file>
      <expected-error>XPST0005</expected-error>
   </test-case>
   <test-case is-XPath2="true" name="nodeexpression20" FilePath="Expressions/Operators/NodeOp/NodeBefore/" scenario="standard" Creator="Carmelo Montanez (Automatic Generation)">
      <description>Evaluation of a Node expression With the operands/operator set with the following format: empty Sequence "&lt;&lt;" Sequence of single Element Node.</description>
      <spec-citation spec="XQuery" section-number="3.5.3" section-title="Node Comparisons" section-pointer="id-node-comparisons"/>
      <spec-citation spec="FuncOps" section-number="14.7" section-title="op:node-before" section-pointer="func-node-before"/>
      <query name="nodeexpression20" date="2005-05-16"/>
      <input-file role="principal-data" variable="input-context2">staff</input-file>
      <output-file role="principal" compare="Text">nodeexpression20.txt</output-file>
      <expected-error>XPST0005</expected-error>
   </test-case>
   <test-case is-XPath2="false" name="nodeexpression21" FilePath="Expressions/Operators/NodeOp/NodeBefore/" scenario="standard" Creator="Carmelo Montanez (Automatic Generation)">
      <description>Evaluation of a Node expression With the operands/operator set with the following format: Single Element Constructor "&lt;&lt;" empty Sequence.</description>
      <spec-citation spec="XQuery" section-number="3.5.3" section-title="Node Comparisons" section-pointer="id-node-comparisons"/>
      <spec-citation spec="FuncOps" section-number="14.7" section-title="op:node-before" section-pointer="func-node-before"/>
      <query name="nodeexpression21" date="2005-05-16"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">nodeexpression21.txt</output-file>
      <expected-error>XPST0005</expected-error>
   </test-case>
   <test-case is-XPath2="false" name="nodeexpression22" FilePath="Expressions/Operators/NodeOp/NodeBefore/" scenario="standard" Creator="Carmelo Montanez (Automatic Generation)">
      <description>Evaluation of a Node expression With the operands/operator set with the following format: Single Element Constructor "&lt;&lt;" Single Element Constructor.</description>
      <spec-citation spec="XQuery" section-number="3.5.3" section-title="Node Comparisons" section-pointer="id-node-comparisons"/>
      <spec-citation spec="FuncOps" section-number="14.7" section-title="op:node-before" section-pointer="func-node-before"/>
      <query name="nodeexpression22" date="2005-05-16"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">nodeexpression22.txt</output-file>
      <output-file role="principal" compare="Text">nodeexpressionalt22.txt</output-file>
   </test-case>
   <test-case is-XPath2="false" name="nodeexpression23" FilePath="Expressions/Operators/NodeOp/NodeBefore/" scenario="standard" Creator="Carmelo Montanez (Automatic Generation)">
      <description>Evaluation of a Node expression With the operands/operator set with the following format: Single Element Constructor "&lt;&lt;" Single Node Element.</description>
      <spec-citation spec="XQuery" section-number="3.5.3" section-title="Node Comparisons" section-pointer="id-node-comparisons"/>
      <spec-citation spec="FuncOps" section-number="14.7" section-title="op:node-before" section-pointer="func-node-before"/>
      <query name="nodeexpression23" date="2005-05-16"/>
      <input-file role="principal-data" variable="input-context1">works</input-file>
      <output-file role="principal" compare="Text">nodeexpression23.txt</output-file>
      <output-file role="principal" compare="Text">nodeexpressionalt23.txt</output-file>
   </test-case>
   <test-case is-XPath2="false" name="nodeexpression24" FilePath="Expressions/Operators/NodeOp/NodeBefore/" scenario="standard" Creator="Carmelo Montanez (Automatic Generation)">
      <description>Evaluation of a Node expression With the operands/operator set with the following format: Single Element Constructor "&lt;&lt;" Sequence of single Element Node.</description>
      <spec-citation spec="XQuery" section-number="3.5.3" section-title="Node Comparisons" section-pointer="id-node-comparisons"/>
      <spec-citation spec="FuncOps" section-number="14.7" section-title="op:node-before" section-pointer="func-node-before"/>
      <query name="nodeexpression24" date="2005-05-16"/>
      <input-file role="principal-data" variable="input-context2">staff</input-file>
      <output-file role="principal" compare="Text">nodeexpression24.txt</output-file>
      <output-file role="principal" compare="Text">nodeexpressionalt24.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="nodeexpression25" FilePath="Expressions/Operators/NodeOp/NodeBefore/" scenario="standard" Creator="Carmelo Montanez (Automatic Generation)">
      <description>Evaluation of a Node expression With the operands/operator set with the following format: Single Node Element "&lt;&lt;" empty Sequence.</description>
      <spec-citation spec="XQuery" section-number="3.5.3" section-title="Node Comparisons" section-pointer="id-node-comparisons"/>
      <spec-citation spec="FuncOps" section-number="14.7" section-title="op:node-before" section-pointer="func-node-before"/>
      <query name="nodeexpression25" date="2005-05-16"/>
      <input-file role="principal-data" variable="input-context1">works</input-file>
      <output-file role="principal" compare="Text">nodeexpression25.txt</output-file>
      <expected-error>XPST0005</expected-error>
   </test-case>
   <test-case is-XPath2="false" name="nodeexpression26" FilePath="Expressions/Operators/NodeOp/NodeBefore/" scenario="standard" Creator="Carmelo Montanez (Automatic Generation)">
      <description>Evaluation of a Node expression With the operands/operator set with the following format: Single Node Element "&lt;&lt;" Single Element Constructor.</description>
      <spec-citation spec="XQuery" section-number="3.5.3" section-title="Node Comparisons" section-pointer="id-node-comparisons"/>
      <spec-citation spec="FuncOps" section-number="14.7" section-title="op:node-before" section-pointer="func-node-before"/>
      <query name="nodeexpression26" date="2005-05-16"/>
      <input-file role="principal-data" variable="input-context1">works</input-file>
      <output-file role="principal" compare="Text">nodeexpression26.txt</output-file>
      <output-file role="principal" compare="Text">nodeexpression26alt.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="nodeexpression27" FilePath="Expressions/Operators/NodeOp/NodeBefore/" scenario="standard" Creator="Carmelo Montanez (Automatic Generation)">
      <description>Evaluation of a Node expression With the operands/operator set with the following format: Single Node Element "&lt;&lt;" Single Node Element.</description>
      <spec-citation spec="XQuery" section-number="3.5.3" section-title="Node Comparisons" section-pointer="id-node-comparisons"/>
      <spec-citation spec="FuncOps" section-number="14.7" section-title="op:node-before" section-pointer="func-node-before"/>
      <query name="nodeexpression27" date="2005-05-16"/>
      <input-file role="principal-data" variable="input-context1">works</input-file>
      <output-file role="principal" compare="Text">nodeexpression27.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="nodeexpression28" FilePath="Expressions/Operators/NodeOp/NodeBefore/" scenario="standard" Creator="Carmelo Montanez (Automatic Generation)">
      <description>Evaluation of a Node expression With the operands/operator set with the following format: Single Node Element "&lt;&lt;" Sequence of single Element Node.</description>
      <spec-citation spec="XQuery" section-number="3.5.3" section-title="Node Comparisons" section-pointer="id-node-comparisons"/>
      <spec-citation spec="FuncOps" section-number="14.7" section-title="op:node-before" section-pointer="func-node-before"/>
      <query name="nodeexpression28" date="2005-05-16"/>
      <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">nodeexpression28.txt</output-file>
      <output-file role="principal" compare="Text">nodeexpressionalt28.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="nodeexpression29" FilePath="Expressions/Operators/NodeOp/NodeBefore/" scenario="standard" Creator="Carmelo Montanez (Automatic Generation)">
      <description>Evaluation of a Node expression With the operands/operator set with the following format: Sequence of single Element Node "&lt;&lt;" empty Sequence.</description>
      <spec-citation spec="XQuery" section-number="3.5.3" section-title="Node Comparisons" section-pointer="id-node-comparisons"/>
      <spec-citation spec="FuncOps" section-number="14.7" section-title="op:node-before" section-pointer="func-node-before"/>
      <query name="nodeexpression29" date="2005-05-16"/>
      <input-file role="principal-data" variable="input-context2">staff</input-file>
      <output-file role="principal" compare="Text">nodeexpression29.txt</output-file>
      <expected-error>XPST0005</expected-error>
   </test-case>
   <test-case is-XPath2="false" name="nodeexpression30" FilePath="Expressions/Operators/NodeOp/NodeBefore/" scenario="standard" Creator="Carmelo Montanez (Automatic Generation)">
      <description>Evaluation of a Node expression With the operands/operator set with the following format: Sequence of single Element Node "&lt;&lt;" Single Element Constructor.</description>
      <spec-citation spec="XQuery" section-number="3.5.3" section-title="Node Comparisons" section-pointer="id-node-comparisons"/>
      <spec-citation spec="FuncOps" section-number="14.7" section-title="op:node-before" section-pointer="func-node-before"/>
      <query name="nodeexpression30" date="2005-05-16"/>
      <input-file role="principal-data" variable="input-context2">staff</input-file>
      <output-file role="principal" compare="Text">nodeexpression30.txt</output-file>
      <output-file role="principal" compare="Text">nodeexpression30alt.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="nodeexpression31" FilePath="Expressions/Operators/NodeOp/NodeBefore/" scenario="standard" Creator="Carmelo Montanez (Automatic Generation)">
      <description>Evaluation of a Node expression With the operands/operator set with the following format: Sequence of single Element Node "&lt;&lt;" Single Node Element.</description>
      <spec-citation spec="XQuery" section-number="3.5.3" section-title="Node Comparisons" section-pointer="id-node-comparisons"/>
      <spec-citation spec="FuncOps" section-number="14.7" section-title="op:node-before" section-pointer="func-node-before"/>
      <query name="nodeexpression31" date="2005-05-16"/>
      <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">nodeexpression31.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="nodeexpression32" FilePath="Expressions/Operators/NodeOp/NodeBefore/" scenario="standard" Creator="Carmelo Montanez (Automatic Generation)">
      <description>Evaluation of a Node expression With the operands/operator set with the following format: Sequence of single Element Node "&lt;&lt;" Sequence of single Element Node.</description>
      <spec-citation spec="XQuery" section-number="3.5.3" section-title="Node Comparisons" section-pointer="id-node-comparisons"/>
      <spec-citation spec="FuncOps" section-number="14.7" section-title="op:node-before" section-pointer="func-node-before"/>
      <query name="nodeexpression32" date="2005-05-16"/>
      <input-file role="principal-data" variable="input-context2">staff</input-file>
      <output-file role="principal" compare="Text">nodeexpression32.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="nodeexpressionhc6" FilePath="Expressions/Operators/NodeOp/NodeBefore/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluation of a Node before expression as an argument to the "fn:not" function.</description>
      <spec-citation spec="XQuery" section-number="3.5.3" section-title="Node Comparisons" section-pointer="id-node-comparisons"/>
      <spec-citation spec="FuncOps" section-number="14.7" section-title="op:node-before" section-pointer="func-node-before"/>
      <query name="nodeexpressionhc6" date="2005-06-08"/>
      <input-file role="principal-data" variable="input-context2">staff</input-file>
      <output-file role="principal" compare="Text">nodeexpressionhc6.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="nodeexpressionhc7" FilePath="Expressions/Operators/NodeOp/NodeBefore/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluation of a Node before expression used as part of a boolean-less-than expression (lt operator).</description>
      <spec-citation spec="XQuery" section-number="3.5.3" section-title="Node Comparisons" section-pointer="id-node-comparisons"/>
      <spec-citation spec="FuncOps" section-number="14.7" section-title="op:node-before" section-pointer="func-node-before"/>
      <query name="nodeexpressionhc7" date="2005-06-08"/>
      <input-file role="principal-data" variable="input-context2">staff</input-file>
      <output-file role="principal" compare="Text">nodeexpressionhc7.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="nodeexpressionhc8" FilePath="Expressions/Operators/NodeOp/NodeBefore/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluation of a Node before expression used as part of a boolean-less-than expression (ge operator).</description>
      <spec-citation spec="XQuery" section-number="3.5.3" section-title="Node Comparisons" section-pointer="id-node-comparisons"/>
      <spec-citation spec="FuncOps" section-number="14.7" section-title="op:node-before" section-pointer="func-node-before"/>
      <query name="nodeexpressionhc8" date="2005-06-08"/>
      <input-file role="principal-data" variable="input-context2">staff</input-file>
      <output-file role="principal" compare="Text">nodeexpressionhc8.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="nodeexpressionhc9" FilePath="Expressions/Operators/NodeOp/NodeBefore/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluation of a Node before expression used as part of a boolean-greater-than expression (gt operator).</description>
      <spec-citation spec="XQuery" section-number="3.5.3" section-title="Node Comparisons" section-pointer="id-node-comparisons"/>
      <spec-citation spec="FuncOps" section-number="14.7" section-title="op:node-before" section-pointer="func-node-before"/>
      <query name="nodeexpressionhc9" date="2005-06-08"/>
      <input-file role="principal-data" variable="input-context2">staff</input-file>
      <output-file role="principal" compare="Text">nodeexpressionhc9.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="nodeexpressionhc10" FilePath="Expressions/Operators/NodeOp/NodeBefore/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluation of a Node before expression used as part of a boolean-greater-than expression (le operator).</description>
      <spec-citation spec="XQuery" section-number="3.5.3" section-title="Node Comparisons" section-pointer="id-node-comparisons"/>
      <spec-citation spec="FuncOps" section-number="14.7" section-title="op:node-before" section-pointer="func-node-before"/>
      <query name="nodeexpressionhc10" date="2005-06-08"/>
      <input-file role="principal-data" variable="input-context2">staff</input-file>
      <output-file role="principal" compare="Text">nodeexpressionhc10.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="nodecomparisonerr-2" FilePath="Expressions/Operators/NodeOp/NodeBefore/" scenario="standard" Creator="Carmelo Montanez (Automatic Generation)">
      <description>Evaluation of the "node-before" operator with one of the operands is not a single node or the empty sequence.</description>
      <spec-citation spec="XQuery" section-number="3.5.3" section-title="Node Comparisons" section-pointer="id-node-comparisons"/>
      <spec-citation spec="FuncOps" section-number="14.6" section-title="op:is-same-node" section-pointer="func-is-same-node"/>
      <query name="nodecomparisonerr-2" date="2005-11-23"/>
      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
      <output-file role="principal" compare="Text">nodecomparisonerr-2.txt</output-file>
      <expected-error>XPTY0004</expected-error>
      <expected-error>XPST0005</expected-error>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-NodeBefore-1" FilePath="Expressions/Operators/CompExpr/NodeComp/NodeBefore/" scenario="standard">
      <description>A test whose essence is: `empty(1 &lt;&lt; ())`.</description>
      <query name="K-NodeBefore-1" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">K-NodeBefore-1.txt</output-file>
      <expected-error>XPTY0004</expected-error>
      <expected-error>XPST0005</expected-error>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-NodeBefore-2" FilePath="Expressions/Operators/CompExpr/NodeComp/NodeBefore/" scenario="standard">
      <description>A test whose essence is: `empty(() &lt;&lt; 1)`.</description>
      <query name="K-NodeBefore-2" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">K-NodeBefore-2.txt</output-file>
      <expected-error>XPTY0004</expected-error>
      <expected-error>XPST0005</expected-error>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-NodeBefore-3" FilePath="Expressions/Operators/CompExpr/NodeComp/NodeBefore/" scenario="runtime-error">
      <description>A test whose essence is: `1 &lt;&lt; 1`.</description>
      <query name="K-NodeBefore-3" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <expected-error>XPTY0004</expected-error>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-NodeBefore-4" FilePath="Expressions/Operators/CompExpr/NodeComp/NodeBefore/" scenario="standard">
      <description>A test whose essence is: `empty(() &lt;&lt; ())`.</description>
      <query name="K-NodeBefore-4" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">K-NodeBefore-4.txt</output-file>
      <expected-error>XPST0005</expected-error>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-NodeBefore-5" FilePath="Expressions/Operators/CompExpr/NodeComp/NodeBefore/" scenario="parse-error">
      <description>A test whose essence is: `() &lt;&lt;&lt; ()`.</description>
      <query name="K-NodeBefore-5" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <expected-error>XPST0003</expected-error>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-NodeBefore-6" FilePath="Expressions/Operators/CompExpr/NodeComp/NodeBefore/" scenario="parse-error">
      <description>A test whose essence is: `() &lt;&lt;`.</description>
      <query name="K-NodeBefore-6" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <expected-error>XPST0003</expected-error>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-NodeBefore-7" FilePath="Expressions/Operators/CompExpr/NodeComp/NodeBefore/" scenario="parse-error">
      <description>A test whose essence is: `&lt;&lt; ()`.</description>
      <query name="K-NodeBefore-7" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <expected-error>XPST0003</expected-error>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-NodeBefore-8" FilePath="Expressions/Operators/CompExpr/NodeComp/NodeBefore/" scenario="parse-error">
      <description>A test whose essence is: `&lt;&lt;`.</description>
      <query name="K-NodeBefore-8" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <expected-error>XPST0003</expected-error>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-NodeBefore-9" FilePath="Expressions/Operators/CompExpr/NodeComp/NodeBefore/" scenario="parse-error">
      <description>A test whose essence is: `1 &lt;&lt;`.</description>
      <query name="K-NodeBefore-9" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <expected-error>XPST0003</expected-error>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-NodeBefore-10" FilePath="Expressions/Operators/CompExpr/NodeComp/NodeBefore/" scenario="parse-error">
      <description>A test whose essence is: `&lt;&lt; 1`.</description>
      <query name="K-NodeBefore-10" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <expected-error>XPST0003</expected-error>
   </test-case>
   <test-case is-XPath2="true" Creator="Frans Englich" name="K-NodeBefore-11" FilePath="Expressions/Operators/CompExpr/NodeComp/NodeBefore/" scenario="parse-error">
      <description>A test whose essence is: `&lt;&lt;&lt;`.</description>
      <query name="K-NodeBefore-11" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <expected-error>XPST0003</expected-error>
   </test-case>
</test-group>