<test-group xmlns="http://www.w3.org/2005/02/query-test-XQTSCatalog" name="following-siblingAxis" featureOwner="NIST and Frans Englich">
   <GroupInfo>
      <title>following-sibling Axis</title>
      <description/>
   </GroupInfo>
   <test-case is-XPath2="true" name="followingsibling-1" FilePath="FullAxis/following-siblingAxis/" scenario="runtime-error" Creator="Carmelo Montanez">
      <description>Evaluation of an following-sibling axis for which the context node is not a node.</description>
      <spec-citation spec="XQuery" section-number="3.2.1.1" section-title="Axes" section-pointer="axes"/>
      <query name="followingsibling-1" date="2005-12-13"/>
      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
      <expected-error>XPTY0019</expected-error>
   </test-case>
   <test-case is-XPath2="true" name="followingsibling-2" FilePath="FullAxis/following-siblingAxis/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluation of an following-sibling axis for which the given node does not exists.</description>
      <spec-citation spec="XQuery" section-number="3.2.1.1" section-title="Axes" section-pointer="axes"/>
      <query name="followingsibling-2" date="2005-12-13"/>
      <input-file role="principal-data" variable="input-context1">works-mod</input-file>
      <output-file role="principal" compare="Text">followingsibling-2.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="followingsibling-3" FilePath="FullAxis/following-siblingAxis/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluation of an following-sibling axis that is part of an "is" expression (return true).</description>
      <spec-citation spec="XQuery" section-number="3.2.1.1" section-title="Axes" section-pointer="axes"/>
      <query name="followingsibling-3" date="2005-12-13"/>
      <input-file role="principal-data" variable="input-context1">works-mod</input-file>
      <output-file role="principal" compare="Text">followingsibling-3.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="followingsibling-4" FilePath="FullAxis/following-siblingAxis/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluation of an following-sibling axis that is part of an "is" expression (return false).</description>
      <spec-citation spec="XQuery" section-number="3.2.1.1" section-title="Axes" section-pointer="axes"/>
      <query name="followingsibling-4" date="2005-12-13"/>
      <input-file role="principal-data" variable="input-context1">works-mod</input-file>
      <output-file role="principal" compare="Text">followingsibling-4.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="followingsibling-5" FilePath="FullAxis/following-siblingAxis/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluation of an following-sibling axis that is part of an "node before" expression (return true).</description>
      <spec-citation spec="XQuery" section-number="3.2.1.1" section-title="Axes" section-pointer="axes"/>
      <query name="followingsibling-5" date="2005-12-13"/>
      <input-file role="principal-data" variable="input-context1">works-mod</input-file>
      <output-file role="principal" compare="Text">followingsibling-5.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="followingsibling-6" FilePath="FullAxis/following-siblingAxis/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluation of an following-sibling axis that is part of an "node before" expression and both operands are the same (return false).</description>
      <spec-citation spec="XQuery" section-number="3.2.1.1" section-title="Axes" section-pointer="axes"/>
      <query name="followingsibling-6" date="2005-12-13"/>
      <input-file role="principal-data" variable="input-context1">works-mod</input-file>
      <output-file role="principal" compare="Text">followingsibling-6.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="followingsibling-7" FilePath="FullAxis/following-siblingAxis/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluation of an following-sibling axis that is part of an "node before" expression and operands are different (return false).</description>
      <spec-citation spec="XQuery" section-number="3.2.1.1" section-title="Axes" section-pointer="axes"/>
      <query name="followingsibling-7" date="2005-12-13"/>
      <input-file role="principal-data" variable="input-context1">works-mod</input-file>
      <output-file role="principal" compare="Text">followingsibling-7.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="followingsibling-8" FilePath="FullAxis/following-siblingAxis/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluation of an following-sibling axis that is part of an "node-after" expression (return true).</description>
      <spec-citation spec="XQuery" section-number="3.2.1.1" section-title="Axes" section-pointer="axes"/>
      <query name="followingsibling-8" date="2005-12-13"/>
      <input-file role="principal-data" variable="input-context1">works-mod</input-file>
      <output-file role="principal" compare="Text">followingsibling-8.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="followingsibling-9" FilePath="FullAxis/following-siblingAxis/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluation of an following-sibling axis that is part of an "node-after" expression and both operands the same (return false).</description>
      <spec-citation spec="XQuery" section-number="3.2.1.1" section-title="Axes" section-pointer="axes"/>
      <query name="followingsibling-9" date="2005-12-13"/>
      <input-file role="principal-data" variable="input-context1">works-mod</input-file>
      <output-file role="principal" compare="Text">followingsibling-9.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="followingsibling-10" FilePath="FullAxis/following-siblingAxis/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluation of an following-sibling axis that is part of an "node-after" expression operands are different (return false).</description>
      <spec-citation spec="XQuery" section-number="3.2.1.1" section-title="Axes" section-pointer="axes"/>
      <query name="followingsibling-10" date="2005-12-13"/>
      <input-file role="principal-data" variable="input-context1">works-mod</input-file>
      <output-file role="principal" compare="Text">followingsibling-10.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="followingsibling-11" FilePath="FullAxis/following-siblingAxis/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluation of an following-sibling axis that is part of an "union" operation and both operands are the same.</description>
      <spec-citation spec="XQuery" section-number="3.2.1.1" section-title="Axes" section-pointer="axes"/>
      <query name="followingsibling-11" date="2005-12-13"/>
      <input-file role="principal-data" variable="input-context1">works-mod</input-file>
      <output-file role="principal" compare="Fragment">followingsibling-11.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="followingsibling-12" FilePath="FullAxis/following-siblingAxis/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluation of an following-sibling axis that is part of an "union" operation and both operands are different.</description>
      <spec-citation spec="XQuery" section-number="3.2.1.1" section-title="Axes" section-pointer="axes"/>
      <query name="followingsibling-12" date="2005-12-13"/>
      <input-file role="principal-data" variable="input-context1">works-mod</input-file>
      <output-file role="principal" compare="Fragment">followingsibling-12.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="followingsibling-13" FilePath="FullAxis/following-siblingAxis/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluation of an following-sibling axis that is part of an "intersect" operation and both operands are the same.</description>
      <spec-citation spec="XQuery" section-number="3.2.1.1" section-title="Axes" section-pointer="axes"/>
      <query name="followingsibling-13" date="2005-12-13"/>
      <input-file role="principal-data" variable="input-context1">works-mod</input-file>
      <output-file role="principal" compare="Fragment">followingsibling-13.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="followingsibling-14" FilePath="FullAxis/following-siblingAxis/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluation of an following-sibling axis that is part of an "except" operation and both operands are the same.</description>
      <spec-citation spec="XQuery" section-number="3.2.1.1" section-title="Axes" section-pointer="axes"/>
      <query name="followingsibling-14" date="2005-12-13"/>
      <input-file role="principal-data" variable="input-context1">works-mod</input-file>
      <output-file role="principal" compare="Text">followingsibling-14.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="followingsibling-15" FilePath="FullAxis/following-siblingAxis/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluation of an following-sibling axis that is part of an "except" operation and operands are different.</description>
      <spec-citation spec="XQuery" section-number="3.2.1.1" section-title="Axes" section-pointer="axes"/>
      <query name="followingsibling-15" date="2005-12-13"/>
      <input-file role="principal-data" variable="input-context1">works-mod</input-file>
      <output-file role="principal" compare="Fragment">followingsibling-15.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="followingsibling-16" FilePath="FullAxis/following-siblingAxis/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluation of an following-sibling axis as part of a boolean expression. Uses "and" and "fn:true()".</description>
      <spec-citation spec="XQuery" section-number="3.2.1.1" section-title="Axes" section-pointer="axes"/>
      <query name="followingsibling-16" date="2005-12-13"/>
      <input-file role="principal-data" variable="input-context1">works-mod</input-file>
      <output-file role="principal" compare="Text">followingsibling-16.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="followingsibling-17" FilePath="FullAxis/following-siblingAxis/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluation of an following-sibling axis as part of a boolean expression. Uses "and" and "fn:false()".</description>
      <spec-citation spec="XQuery" section-number="3.2.1.1" section-title="Axes" section-pointer="axes"/>
      <query name="followingsibling-17" date="2005-12-13"/>
      <input-file role="principal-data" variable="input-context1">works-mod</input-file>
      <output-file role="principal" compare="Text">followingsibling-17.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="followingsibling-18" FilePath="FullAxis/following-siblingAxis/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluation of an following-sibling axis as part of a boolean expression. Uses "or" and "fn:true()".</description>
      <spec-citation spec="XQuery" section-number="3.2.1.1" section-title="Axes" section-pointer="axes"/>
      <query name="followingsibling-18" date="2005-12-13"/>
      <input-file role="principal-data" variable="input-context1">works-mod</input-file>
      <output-file role="principal" compare="Text">followingsibling-18.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="followingsibling-19" FilePath="FullAxis/following-siblingAxis/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluation of an following-sibling axis as part of a boolean expression. Uses "or" and "fn:false()".</description>
      <spec-citation spec="XQuery" section-number="3.2.1.1" section-title="Axes" section-pointer="axes"/>
      <query name="followingsibling-19" date="2005-12-13"/>
      <input-file role="principal-data" variable="input-context1">works-mod</input-file>
      <output-file role="principal" compare="Text">followingsibling-19.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="followingsibling-20" FilePath="FullAxis/following-siblingAxis/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluation of an following-sibling axis as an argument to fn:deep-equal function.</description>
      <spec-citation spec="XQuery" section-number="3.2.1.1" section-title="Axes" section-pointer="axes"/>
      <query name="followingsibling-20" date="2005-12-13"/>
      <input-file role="principal-data" variable="input-context1">works-mod</input-file>
      <output-file role="principal" compare="Text">followingsibling-20.txt</output-file>
   </test-case>
   <test-case is-XPath2="false" name="followingsibling-21" FilePath="FullAxis/following-siblingAxis/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluation of an following-sibling axis used together with a newly constructed element.</description>
      <spec-citation spec="XQuery" section-number="3.2.1.1" section-title="Axes" section-pointer="axes"/>
      <query name="followingsibling-21" date="2005-12-13"/>
      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
      <output-file role="principal" compare="Text">followingsibling-21.txt</output-file>
   </test-case>
   <test-case is-XPath2="true" name="unabbreviatedSyntax-24" FilePath="FullAxis/following-siblingAxis/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluates unabbreviated syntax. Evaluate "following-sibling::employee[fn:position() = 1]". Selects the next employee sibling of the context node.</description>
      <spec-citation spec="XQuery" section-number="3.2.3" section-title="Unabbreviated Syntax" section-pointer="unabbrev"/>
      <query name="unabbreviatedSyntax-24" date="2005-07-11"/>
      <input-file role="principal-data" variable="input-context1">works-mod</input-file>
      <output-file role="principal" compare="Fragment">unabbreviatedSyntax-24.txt</output-file>
   </test-case>
   <test-case Creator="Frans Englich" is-XPath2="false" name="K2-following-siblingAxis-1" FilePath="Optional/FullAxis/following-siblingAxis/" scenario="standard">
      <description>Apply following-sibling to a child whose siblings are the last in a document.</description>
      <query name="K2-following-siblingAxis-1" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Fragment">K2-following-siblingAxis-1.txt</output-file>
   </test-case>
   <test-case Creator="Frans Englich" is-XPath2="false" name="K2-following-siblingAxis-2" FilePath="Optional/FullAxis/following-siblingAxis/" scenario="standard">
      <description>Apply following-sibling to a child whose last nodes in document order are attributes.</description>
      <query name="K2-following-siblingAxis-2" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Fragment">K2-following-siblingAxis-2.txt</output-file>
   </test-case>
   <test-case Creator="Frans Englich" is-XPath2="false" name="K2-following-siblingAxis-3" FilePath="Optional/FullAxis/following-siblingAxis/" scenario="standard">
      <description>Apply fn:count() to the result of axis following-sibling.</description>
      <query name="K2-following-siblingAxis-3" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">K2-following-siblingAxis-3.txt</output-file>
   </test-case>
   <test-case Creator="Frans Englich" is-XPath2="false" name="K2-following-siblingAxis-4" FilePath="Optional/FullAxis/following-siblingAxis/" scenario="standard">
      <description>Evaluate fn:count() on a range of nodes, navigated with axis following.</description>
      <query name="K2-following-siblingAxis-4" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">K2-following-siblingAxis-4.txt</output-file>
   </test-case>
   <test-case Creator="Frans Englich" is-XPath2="false" name="K2-following-siblingAxis-5" FilePath="Optional/FullAxis/following-siblingAxis/" scenario="standard">
      <description>Evaluate on a small tree.</description>
      <query name="K2-following-siblingAxis-5" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Fragment">K2-following-siblingAxis-5.txt</output-file>
   </test-case>
   <test-case Creator="Frans Englich" is-XPath2="false" name="K2-following-siblingAxis-6" FilePath="Optional/FullAxis/following-siblingAxis/" scenario="runtime-error">
      <description>A type error with the following-sibling axis.</description>
      <query name="K2-following-siblingAxis-6" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <expected-error>XPTY0018</expected-error>
   </test-case>
   <test-case Creator="Frans Englich" is-XPath2="false" name="K2-following-siblingAxis-7" FilePath="Optional/FullAxis/following-siblingAxis/" scenario="standard">
      <description>Apply count to axis following-sibling.</description>
      <query name="K2-following-siblingAxis-7" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">K2-following-siblingAxis-7.txt</output-file>
   </test-case>
   <test-case Creator="Frans Englich" is-XPath2="false" name="K2-following-siblingAxis-8" FilePath="Optional/FullAxis/following-siblingAxis/" scenario="standard">
      <description>Apply count to axis following-sibling, combined with the comma operator.</description>
      <query name="K2-following-siblingAxis-8" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">K2-following-siblingAxis-8.txt</output-file>
   </test-case>
   <test-case Creator="Frans Englich" is-XPath2="false" name="K2-following-siblingAxis-9" FilePath="Optional/FullAxis/following-siblingAxis/" scenario="standard">
      <description>Apply count to axis following-sibling to a single node, combined with the comma operator.</description>
      <query name="K2-following-siblingAxis-9" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">K2-following-siblingAxis-9.txt</output-file>
   </test-case>
   <test-case Creator="Frans Englich" is-XPath2="false" name="K2-following-siblingAxis-10" FilePath="Optional/FullAxis/following-siblingAxis/" scenario="standard">
      <description>Use a positional predicate beyond the output.</description>
      <query name="K2-following-siblingAxis-10" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="XML">K2-following-siblingAxis-10.txt</output-file>
   </test-case>
   <test-case name="following-sibling-attr" FilePath="Optional/FullAxis/following-siblingAxis/" scenario="standard" Creator="Michael Dyck">
      <description>Apply the following-sibling axis to an attribute node.</description>
      <spec-citation spec="XQuery" section-number="3.2.1.1" section-title="Axes" section-pointer="axes"/>
      <reflects-resolution>http://www.w3.org/Bugs/Public/show_bug.cgi?id=6538</reflects-resolution>
      <query name="following-sibling-attr" date="2009-03-11"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">following-sibling-attr.txt</output-file>
   </test-case>
</test-group>