<test-group xmlns="http://www.w3.org/2005/02/query-test-XQTSCatalog" is-XPath2="false" name="CollationProlog" featureOwner="Frans Englich">
   <GroupInfo>
      <title>Default Collation Declaration</title>
      <description/>
   </GroupInfo>
   <test-case is-XPath2="false" name="defaultcolldecl-1" FilePath="Expressions/PrologExpr/CollationProlog/" scenario="runtime-error" Creator="Carmelo Montanez">
      <description>Evaluates the declaration of two default collation in the prolog.</description>
      <spec-citation spec="XQuery" section-number="4.4" section-title="Default Collation Declaration" section-pointer="id-default-collation-declaration"/>
      <query name="defaultcolldecl-1" date="2005-11-30"/>
      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
      <expected-error>XQST0038</expected-error>
   </test-case>
   <test-case is-XPath2="false" name="defaultcolldecl-2" FilePath="Expressions/PrologExpr/CollationProlog/" scenario="runtime-error" Creator="Carmelo Montanez">
      <description>Evaluates the declaration default collation in the prolog that should raise an error for most (if not all implementations).</description>
      <spec-citation spec="XQuery" section-number="4.4" section-title="Default Collation Declaration" section-pointer="id-default-collation-declaration"/>
      <query name="defaultcolldecl-2" date="2005-11-30"/>
      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
      <expected-error>XQST0038</expected-error>
   </test-case>
   <test-case Creator="Frans Englich" is-XPath2="false" name="K-CollationProlog-1" FilePath="Expressions/PrologExpr/CollationProlog/" scenario="standard">
      <description>A 'declare default collation' that uses a relative URI combined with setting the base-uri, to specify the Unicode Codepoint collation.</description>
      <query name="K-CollationProlog-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-CollationProlog-1.txt</output-file>
   </test-case>
   <test-case Creator="Frans Englich" is-XPath2="false" name="K-CollationProlog-2" FilePath="Expressions/PrologExpr/CollationProlog/" scenario="runtime-error">
      <description>A 'declare default collation' that uses a relative URI combined with setting the base-uri, to specify an invalid collation.</description>
      <query name="K-CollationProlog-2" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <expected-error>XQST0038</expected-error>
   </test-case>
   <test-case Creator="Frans Englich" is-XPath2="false" name="K-CollationProlog-3" FilePath="Expressions/PrologExpr/CollationProlog/" scenario="standard">
      <description>Any implementation must support setting the default collation to the Unicode Codepoint collation with 'declare default collation'.</description>
      <query name="K-CollationProlog-3" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="Text">K-CollationProlog-3.txt</output-file>
   </test-case>
   <test-case Creator="Frans Englich" is-XPath2="false" name="K-CollationProlog-4" FilePath="Expressions/PrologExpr/CollationProlog/" scenario="runtime-error">
      <description>A 'declare default collation' expression may occur only once.</description>
      <query name="K-CollationProlog-4" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <expected-error>XQST0038</expected-error>
   </test-case>
   <test-case Creator="Frans Englich" is-XPath2="false" name="K-CollationProlog-5" FilePath="Expressions/PrologExpr/CollationProlog/" scenario="runtime-error">
      <description>Two 'declare default collation' declarations where the collations differs.</description>
      <query name="K-CollationProlog-5" date="2007-11-26+01:00"/>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <expected-error>XQST0038</expected-error>
   </test-case>
   <test-case Creator="Frans Englich" is-XPath2="false" name="K2-CollationProlog-1" FilePath="exprSeqTypes/PrologExpr/CollationProlog/" scenario="parse-error">
      <description>Invalid URI literal in prolog.</description>
      <query name="K2-CollationProlog-1" 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>