<test-group xmlns="http://www.w3.org/2005/02/query-test-XQTSCatalog" is-XPath2="false" name="SchemaImportProlog" featureOwner="Frans Englich">
   <GroupInfo>
      <title>Schema Import</title>
      <description/>
   </GroupInfo>
   <test-case is-XPath2="false" name="schema-import-1" FilePath="SchemaImport/SchemaImportProlog/" scenario="runtime-error" Creator="Carmelo Montanez">
      <description>Evaluation of a schema import, where the schema should not be available.</description>
      <spec-citation spec="XQuery" section-number="4.10" section-title="Schema Import" section-pointer="id-schema-import"/>
      <query name="schema-import-1" date="2005-12-20"/>
      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
      <expected-error>XQST0059</expected-error>
   </test-case>
   <test-case is-XPath2="false" name="schema-import-2" FilePath="SchemaImport/SchemaImportProlog/" scenario="runtime-error" Creator="Carmelo Montanez">
      <description>Evaluation of a two schema imports, where both specifies the same target namespace.</description>
      <spec-citation spec="XQuery" section-number="4.10" section-title="Schema Import" section-pointer="id-schema-import"/>
      <query name="schema-import-2" date="2005-12-20"/>
      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
      <expected-error>XQST0058</expected-error>
   </test-case>
   <test-case is-XPath2="false" name="schema-import-3" FilePath="SchemaImport/SchemaImportProlog/" scenario="runtime-error" Creator="Carmelo Montanez">
      <description>Evaluation of a schema import with target namespace set to zero-length string and specifies a prefix.</description>
      <spec-citation spec="XQuery" section-number="4.10" section-title="Schema Import" section-pointer="id-schema-import"/>
      <query name="schema-import-3" date="2005-12-20"/>
      <input-file role="principal-data" variable="input-context1">emptydoc</input-file>
      <expected-error>XQST0057</expected-error>
   </test-case>
   <test-case is-XPath2="false" name="schema-import-4" FilePath="SchemaImport/SchemaImportProlog/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluation of usage of xs:boolean type as argument to fn:not().</description>
      <spec-citation spec="XQuery" section-number="4.10" section-title="Schema Import" section-pointer="id-schema-import"/>
      <query name="schema-import-4" date="2006-01-31"/>
      <input-file role="principal-data" variable="input-context1">atomic</input-file>
      <output-file role="principal" compare="Text">schema-import-4.txt</output-file>
   </test-case>
   <test-case is-XPath2="false" name="schema-import-5" FilePath="SchemaImport/SchemaImportProlog/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluation of usage of xs:float type as argument to fn:avg().</description>
      <spec-citation spec="XQuery" section-number="4.10" section-title="Schema Import" section-pointer="id-schema-import"/>
      <query name="schema-import-5" date="2006-01-31"/>
      <input-file role="principal-data" variable="input-context1">atomic</input-file>
      <output-file role="principal" compare="Text">truevalue.txt</output-file>
   </test-case>
   <test-case is-XPath2="false" name="schema-import-6" FilePath="SchemaImport/SchemaImportProlog/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluation of usage of xs:integer type as argument to fn:avg().</description>
      <spec-citation spec="XQuery" section-number="4.10" section-title="Schema Import" section-pointer="id-schema-import"/>
      <query name="schema-import-6" date="2006-01-31"/>
      <input-file role="principal-data" variable="input-context1">atomic</input-file>
      <output-file role="principal" compare="Text">truevalue.txt</output-file>
   </test-case>
   <test-case is-XPath2="false" name="schema-import-7" FilePath="SchemaImport/SchemaImportProlog/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluation of usage of xs:decimal type as argument to fn:avg().</description>
      <spec-citation spec="XQuery" section-number="4.10" section-title="Schema Import" section-pointer="id-schema-import"/>
      <query name="schema-import-7" date="2006-01-31"/>
      <input-file role="principal-data" variable="input-context1">atomic</input-file>
      <output-file role="principal" compare="Text">truevalue.txt</output-file>
   </test-case>
   <test-case is-XPath2="false" name="schema-import-8" FilePath="SchemaImport/SchemaImportProlog/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluation of usage of xs:double type as argument to fn:avg().</description>
      <spec-citation spec="XQuery" section-number="4.10" section-title="Schema Import" section-pointer="id-schema-import"/>
      <query name="schema-import-8" date="2006-01-31"/>
      <input-file role="principal-data" variable="input-context1">atomic</input-file>
      <output-file role="principal" compare="Text">schema-import-8.txt</output-file>
   </test-case>
   <test-case is-XPath2="false" name="schema-import-9" FilePath="SchemaImport/SchemaImportProlog/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluation of usage of xs:float type as argument to fn:abs().</description>
      <spec-citation spec="XQuery" section-number="4.10" section-title="Schema Import" section-pointer="id-schema-import"/>
      <query name="schema-import-9" static-name="schema-import-9-static-cbcl" date="2006-02-01"/>
      <input-file role="principal-data" variable="input-context1">atomic</input-file>
      <output-file role="principal" compare="Text">truevalue.txt</output-file>
   </test-case>
   <test-case is-XPath2="false" name="schema-import-10" FilePath="SchemaImport/SchemaImportProlog/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluation of usage of xs:integer type as argument to fn:abs().</description>
      <spec-citation spec="XQuery" section-number="4.10" section-title="Schema Import" section-pointer="id-schema-import"/>
      <query name="schema-import-10" static-name="schema-import-10-static-cbcl" date="2006-02-01"/>
      <input-file role="principal-data" variable="input-context1">atomic</input-file>
      <output-file role="principal" compare="Text">truevalue.txt</output-file>
   </test-case>
   <test-case is-XPath2="false" name="schema-import-11" FilePath="SchemaImport/SchemaImportProlog/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluation of usage of xs:decimal type as argument to fn:abs().</description>
      <spec-citation spec="XQuery" section-number="4.10" section-title="Schema Import" section-pointer="id-schema-import"/>
      <query name="schema-import-11" static-name="schema-import-11-static-cbcl" date="2006-02-01"/>
      <input-file role="principal-data" variable="input-context1">atomic</input-file>
      <output-file role="principal" compare="Text">truevalue.txt</output-file>
   </test-case>
   <test-case is-XPath2="false" name="schema-import-12" FilePath="SchemaImport/SchemaImportProlog/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluation of usage of xs:double type as argument to fn:abs().</description>
      <spec-citation spec="XQuery" section-number="4.10" section-title="Schema Import" section-pointer="id-schema-import"/>
      <query name="schema-import-12" static-name="schema-import-12-static-cbcl" date="2006-02-01"/>
      <input-file role="principal-data" variable="input-context1">atomic</input-file>
      <output-file role="principal" compare="Text">schema-import-12.txt</output-file>
   </test-case>
   <test-case is-XPath2="false" name="schema-import-13" FilePath="SchemaImport/SchemaImportProlog/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluation of usage of xs:float type as argument to fn:max().</description>
      <spec-citation spec="XQuery" section-number="4.10" section-title="Schema Import" section-pointer="id-schema-import"/>
      <query name="schema-import-13" static-name="schema-import-13-static-cbcl" date="2006-02-02"/>
      <input-file role="principal-data" variable="input-context1">atomic</input-file>
      <output-file role="principal" compare="Text">truevalue.txt</output-file>
   </test-case>
   <test-case is-XPath2="false" name="schema-import-14" FilePath="SchemaImport/SchemaImportProlog/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluation of usage of xs:integer type as argument to fn:max().</description>
      <spec-citation spec="XQuery" section-number="4.10" section-title="Schema Import" section-pointer="id-schema-import"/>
      <query name="schema-import-14" static-name="schema-import-14-static-cbcl" date="2006-02-02"/>
      <input-file role="principal-data" variable="input-context1">atomic</input-file>
      <output-file role="principal" compare="Text">truevalue.txt</output-file>
   </test-case>
   <test-case is-XPath2="false" name="schema-import-15" FilePath="SchemaImport/SchemaImportProlog/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluation of usage of xs:decimal type as argument to fn:max().</description>
      <spec-citation spec="XQuery" section-number="4.10" section-title="Schema Import" section-pointer="id-schema-import"/>
      <query name="schema-import-15" static-name="schema-import-15-static-cbcl" date="2006-02-02"/>
      <input-file role="principal-data" variable="input-context1">atomic</input-file>
      <output-file role="principal" compare="Text">truevalue.txt</output-file>
   </test-case>
   <test-case is-XPath2="false" name="schema-import-16" FilePath="SchemaImport/SchemaImportProlog/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluation of usage of xs:double type as argument to fn:max().</description>
      <spec-citation spec="XQuery" section-number="4.10" section-title="Schema Import" section-pointer="id-schema-import"/>
      <query name="schema-import-16" static-name="schema-import-16-static-cbcl" date="2006-02-02"/>
      <input-file role="principal-data" variable="input-context1">atomic</input-file>
      <output-file role="principal" compare="Text">schema-import-16.txt</output-file>
   </test-case>
   <test-case is-XPath2="false" name="schema-import-17" FilePath="SchemaImport/SchemaImportProlog/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluation of usage of xs:float type as argument to fn:min().</description>
      <spec-citation spec="XQuery" section-number="4.10" section-title="Schema Import" section-pointer="id-schema-import"/>
      <query name="schema-import-17" static-name="schema-import-17-static-cbcl" date="2006-02-02"/>
      <input-file role="principal-data" variable="input-context1">atomic</input-file>
      <output-file role="principal" compare="Text">truevalue.txt</output-file>
   </test-case>
   <test-case is-XPath2="false" name="schema-import-18" FilePath="SchemaImport/SchemaImportProlog/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluation of usage of xs:integer type as argument to fn:min().</description>
      <spec-citation spec="XQuery" section-number="4.10" section-title="Schema Import" section-pointer="id-schema-import"/>
      <query name="schema-import-18" static-name="schema-import-18-static-cbcl" date="2006-02-02"/>
      <input-file role="principal-data" variable="input-context1">atomic</input-file>
      <output-file role="principal" compare="Text">truevalue.txt</output-file>
   </test-case>
   <test-case is-XPath2="false" name="schema-import-19" FilePath="SchemaImport/SchemaImportProlog/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluation of usage of xs:decimal type as argument to fn:min().</description>
      <spec-citation spec="XQuery" section-number="4.10" section-title="Schema Import" section-pointer="id-schema-import"/>
      <query name="schema-import-19" static-name="schema-import-19-static-cbcl" date="2006-02-02"/>
      <input-file role="principal-data" variable="input-context1">atomic</input-file>
      <output-file role="principal" compare="Text">truevalue.txt</output-file>
   </test-case>
   <test-case is-XPath2="false" name="schema-import-20" FilePath="SchemaImport/SchemaImportProlog/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluation of usage of xs:double type as argument to fn:min().</description>
      <spec-citation spec="XQuery" section-number="4.10" section-title="Schema Import" section-pointer="id-schema-import"/>
      <query name="schema-import-20" static-name="schema-import-20-static-cbcl" date="2006-02-02"/>
      <input-file role="principal-data" variable="input-context1">atomic</input-file>
      <output-file role="principal" compare="Text">schema-import-20.txt</output-file>
   </test-case>
   <test-case is-XPath2="false" name="schema-import-21" FilePath="SchemaImport/SchemaImportProlog/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluation of usage of xs:dateTime type as argument to fn:hours-from-dateTime().</description>
      <spec-citation spec="XQuery" section-number="4.10" section-title="Schema Import" section-pointer="id-schema-import"/>
      <query name="schema-import-21" static-name="schema-import-21-static-cbcl" date="2006-02-02"/>
      <input-file role="principal-data" variable="input-context1">atomic</input-file>
      <output-file role="principal" compare="Text">schema-import-21.txt</output-file>
   </test-case>
   <test-case is-XPath2="false" name="schema-import-22" FilePath="SchemaImport/SchemaImportProlog/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluation of usage of xs:dateTime type as argument to fn:minutes-from-dateTime().</description>
      <spec-citation spec="XQuery" section-number="4.10" section-title="Schema Import" section-pointer="id-schema-import"/>
      <query name="schema-import-22" static-name="schema-import-22-static-cbcl" date="2006-02-02"/>
      <input-file role="principal-data" variable="input-context1">atomic</input-file>
      <output-file role="principal" compare="Text">schema-import-22.txt</output-file>
   </test-case>
   <test-case is-XPath2="false" name="schema-import-23" FilePath="SchemaImport/SchemaImportProlog/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluation of usage of xs:dateTime type as argument to fn:seconds-from-dateTime().</description>
      <spec-citation spec="XQuery" section-number="4.10" section-title="Schema Import" section-pointer="id-schema-import"/>
      <query name="schema-import-23" static-name="schema-import-23-static-cbcl" date="2006-02-02"/>
      <input-file role="principal-data" variable="input-context1">atomic</input-file>
      <output-file role="principal" compare="Text">schema-import-23.txt</output-file>
   </test-case>
   <test-case is-XPath2="false" name="schema-import-25" FilePath="SchemaImport/SchemaImportProlog/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluation of schema import of numeric type (float) and used in addition expression.</description>
      <spec-citation spec="XQuery" section-number="4.10" section-title="Schema Import" section-pointer="id-schema-import"/>
      <query name="schema-import-25" static-name="schema-import-25-static-cbcl" date="2006-02-02"/>
      <input-file role="principal-data" variable="input-context1">atomic</input-file>
      <output-file role="principal" compare="Text">truevalue.txt</output-file>
   </test-case>
   <test-case is-XPath2="false" name="schema-import-26" FilePath="SchemaImport/SchemaImportProlog/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluation of schema import of numeric type (integer) and used in addition expression.</description>
      <spec-citation spec="XQuery" section-number="4.10" section-title="Schema Import" section-pointer="id-schema-import"/>
      <query name="schema-import-26" static-name="schema-import-26-static-cbcl" date="2006-02-02"/>
      <input-file role="principal-data" variable="input-context1">atomic</input-file>
      <output-file role="principal" compare="Text">truevalue.txt</output-file>
   </test-case>
   <test-case is-XPath2="false" name="schema-import-27" FilePath="SchemaImport/SchemaImportProlog/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluation of schema import of numeric type (decimal) and used in addition expression.</description>
      <spec-citation spec="XQuery" section-number="4.10" section-title="Schema Import" section-pointer="id-schema-import"/>
      <query name="schema-import-27" static-name="schema-import-27-static-cbcl" date="2006-02-02"/>
      <input-file role="principal-data" variable="input-context1">atomic</input-file>
      <output-file role="principal" compare="Text">truevalue.txt</output-file>
   </test-case>
   <test-case is-XPath2="false" name="schema-import-28" FilePath="SchemaImport/SchemaImportProlog/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluation of schema import of numeric type (double) and used in addition expression.</description>
      <spec-citation spec="XQuery" section-number="4.10" section-title="Schema Import" section-pointer="id-schema-import"/>
      <query name="schema-import-28" static-name="schema-import-28-static-cbcl" date="2006-02-02"/>
      <input-file role="principal-data" variable="input-context1">atomic</input-file>
      <output-file role="principal" compare="Text">schema-import-28.txt</output-file>
   </test-case>
   <test-case is-XPath2="false" name="schema-import-29" FilePath="SchemaImport/SchemaImportProlog/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluation of schema import of numeric type (integer) and used in division (idiv operator) expression.</description>
      <spec-citation spec="XQuery" section-number="4.10" section-title="Schema Import" section-pointer="id-schema-import"/>
      <query name="schema-import-29" static-name="schema-import-29-static-cbcl" date="2006-02-02"/>
      <input-file role="principal-data" variable="input-context1">atomic</input-file>
      <output-file role="principal" compare="Text">schema-import-29.txt</output-file>
   </test-case>
   <test-case is-XPath2="false" name="schema-import-30" FilePath="SchemaImport/SchemaImportProlog/" scenario="standard" Creator="Carmelo Montanez">
      <description>Evaluation of schema import of numeric type (integer) and used in subtraction expression.</description>
      <spec-citation spec="XQuery" section-number="4.10" section-title="Schema Import" section-pointer="id-schema-import"/>
      <query name="schema-import-30" static-name="schema-import-30-static-cbcl" date="2006-02-02"/>
      <input-file role="principal-data" variable="input-context1">atomic</input-file>
      <output-file role="principal" compare="Text">schema-import-30.txt</output-file>
   </test-case>
   <test-case name="modules-schema-context" FilePath="SchemaImport/SchemaImportProlog/" scenario="standard" Creator="Mary Holstege">
      <description>Evaluation of library module that imports a schema.</description>
      <spec-citation spec="XQuery" section-number="4.11" section-title="Module Import" section-pointer="id-module-import"/>
      <spec-citation spec="XQuery" section-number="4.2" section-title="Module Declaration" section-pointer="id-module-declaration"/>
      <query name="modules-schema-context" date="2005-12-05"/>
      <module namespace="http://www.w3.org/TestModules/context">context-lib</module>
      <input-file role="principal-data" variable="input-context">emptydoc</input-file>
      <output-file role="principal" compare="XML">modules-schema-context.xml</output-file>
   </test-case>
   <test-case is-XPath2="false" name="schema-import-31" FilePath="SchemaImport/SchemaImportProlog/" scenario="runtime-error" Creator="Carmelo Montanez">
      <description>Evaluation of schema import with an invalid namespace prefix ("xml").</description>
      <spec-citation spec="XQuery" section-number="4.10" section-title="Schema Import" section-pointer="id-schema-import"/>
      <query name="schema-import-31" date="2006-03-21"/>
      <input-file role="principal-data" variable="input-context1">atomic</input-file>
      <expected-error>XQST0070</expected-error>
   </test-case>
</test-group>